Skip to content

Merge pull request #65 from lifeomic/base-options #34

Merge pull request #65 from lifeomic/base-options

Merge pull request #65 from lifeomic/base-options #34

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