Skip to content

Merge pull request #23 from lifeomic/dependabot/npm_and_yarn/braces-3… #23

Merge pull request #23 from lifeomic/dependabot/npm_and_yarn/braces-3…

Merge pull request #23 from lifeomic/dependabot/npm_and_yarn/braces-3… #23

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