Skip to content

Use npm run for better compatibility #20

Use npm run for better compatibility

Use npm run for better compatibility #20

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container: node:20
steps:
- uses: actions/checkout@v3
- run: yarn install
- run: yarn test
- run: npm --no-git-tag-version version 0.0.0-$GITHUB_SHA
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{secrets.NPM_TOKEN}}
access: public