Skip to content

Merge pull request #57 from lifeomic/dependabot/npm_and_yarn/octokit/… #50

Merge pull request #57 from lifeomic/dependabot/npm_and_yarn/octokit/…

Merge pull request #57 from lifeomic/dependabot/npm_and_yarn/octokit/… #50

Workflow file for this run

name: Release
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{secrets.LIFEOMIC_NPM_TOKEN}}
run: |
yarn build
npx semantic-release