Skip to content

BREAKING CHANGE: Move to yarn 4 and only output a cjs build, drop (of… #24

BREAKING CHANGE: Move to yarn 4 and only output a cjs build, drop (of…

BREAKING CHANGE: Move to yarn 4 and only output a cjs build, drop (of… #24

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
- run: yarn test
- run: npx semantic-release --branches main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}