Skip to content

Merge pull request #44 from lifeomic/react-query@v5 #39

Merge pull request #44 from lifeomic/react-query@v5

Merge pull request #44 from lifeomic/react-query@v5 #39

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@v2
- uses: actions/setup-node@v1
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