Skip to content

Merge pull request #29 from AirWalk-Digital/upgrade #14

Merge pull request #29 from AirWalk-Digital/upgrade

Merge pull request #29 from AirWalk-Digital/upgrade #14

Workflow file for this run

name: Release
on:
push:
branches: [main, beta]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install dependencies
run: |
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
npx ci
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
- name: Install semantic-release extra plugins
run: npm install --save-dev @semantic-release/changelog #@semantic-release/git
# - name: Lint
# run: npm run lint-fix
# - name: Test
# run: npm run test:unit --if-present
- name: Build
run: npm run build-lib
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
run: npx semantic-release