Skip to content

Merge pull request #82 from lifeomic/dependabot/npm_and_yarn/cross-sp… #51

Merge pull request #82 from lifeomic/dependabot/npm_and_yarn/cross-sp…

Merge pull request #82 from lifeomic/dependabot/npm_and_yarn/cross-sp… #51

Workflow file for this run

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