Skip to content

Merge pull request #101 from lifeomic/dependabot/npm_and_yarn/path-to… #92

Merge pull request #101 from lifeomic/dependabot/npm_and_yarn/path-to…

Merge pull request #101 from lifeomic/dependabot/npm_and_yarn/path-to… #92

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: 16
- 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