Fix GH actions issue when the CLI app would falls over if the Playwri… #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package to NPM | |
on: | |
push: | |
branches: | |
- main # Push events on main branch | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install node v18.18.2 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.18.2 | |
- name: yarn install | |
run: yarn install | |
- name: build | |
run: npm run build | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} |