Skip to content

Merge pull request #63 from SelectQuoteLabs/dependabot/npm_and_yarn/b… #41

Merge pull request #63 from SelectQuoteLabs/dependabot/npm_and_yarn/b…

Merge pull request #63 from SelectQuoteLabs/dependabot/npm_and_yarn/b… #41

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Node Setup
uses: actions/setup-node@v2-beta
with:
node-version: '14'
- run: npm ci
- run: npm run lint
- run: npm run test.ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}