Skip to content

Merge pull request #90 from lifeomic/dependabot/npm_and_yarn/semver-7… #37

Merge pull request #90 from lifeomic/dependabot/npm_and_yarn/semver-7…

Merge pull request #90 from lifeomic/dependabot/npm_and_yarn/semver-7… #37

Workflow file for this run

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