Skip to content

Component: Single-Select using ChoicesJs +Multiselect #388

Component: Single-Select using ChoicesJs +Multiselect

Component: Single-Select using ChoicesJs +Multiselect #388

Workflow file for this run

name: Deploy Stencil Web components Library to NPM
on:
pull_request:
types:
- opened
- reopened
- synchronize # canary on new commit
env:
CANARY_VERSION: ''
jobs:
stencil-library-release:
runs-on: ubuntu-latest
if: '!contains(github.event.head_commit.message, "ci skip") && !contains(github.event.head_commit.message, "skip ci")'

Check failure on line 16 in .github/workflows/shipit_pr.yml

View workflow run for this annotation

GitHub Actions / Deploy Stencil Web components Library to NPM

Invalid workflow file

The workflow is not valid. .github/workflows/shipit_pr.yml (Line: 16, Col: 9): Unexpected symbol: '"ci'. Located at position 45 within expression: !contains(github.event.head_commit.message, "ci skip") && !contains(github.event.head_commit.message, "skip ci")
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all tags for ship-it
- name: download + setup auto
uses: auto-it/setup-auto@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: "https://registry.npmjs.org"
- name: Build stencil
id: build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/components
npm install
npm run build:stencil
CANARY_VERSION=$(auto shipit --dry-run --quiet)
echo "Publishing: $CANARY_VERSION"
echo "CANARY_VERSION=$CANARY_VERSION" >> $GITHUB_ENV
auto shipit
- name: Create Release for react wrapper # releasing as npm package
id: release-react
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/components-react
echo "CANARY_VERSION: $CANARY_VERSION"
echo "Publishing: $CANARY_VERSION"
npm install
npm install @infineon/infineon-design-system-stencil@"$CANARY_VERSION"
npm version $CANARY_VERSION --no-git-tag-version --force
npm run build
npm publish --tag canary
- name: Create Release for vue wrapper # releasing as npm package
id: release-vue
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/components-vue
echo "CANARY_VERSION: $CANARY_VERSION"
echo "Publishing: $CANARY_VERSION"
npm install
npm install @infineon/infineon-design-system-stencil@"$CANARY_VERSION"
npm version $CANARY_VERSION --no-git-tag-version --force
npm run build
npm publish --tag canary