Skip to content

Merge pull request #17 from lifeomic/scan-filter #17

Merge pull request #17 from lifeomic/scan-filter

Merge pull request #17 from lifeomic/scan-filter #17

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
environment: npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.LIFEOMIC_NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Test and Build
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
yarn
yarn lint
yarn test
yarn build
- name: Publish
run: |
yarn semantic-release