Skip to content

Fix: Use CJS for node entrypoint (#152) #473

Fix: Use CJS for node entrypoint (#152)

Fix: Use CJS for node entrypoint (#152) #473

Workflow file for this run

name: release
on: [push]
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Test
working-directory: ./packages/docs
run: yarn test
- name: Release
run:
yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: ./packages/msw-addon