Skip to content

🔧 add prepublishOnly step #45

🔧 add prepublishOnly step

🔧 add prepublishOnly step #45

Workflow file for this run

name: 'test'
on: [pull_request, push]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
- run: 'xvfb-run npm run test'
timeout-minutes: 1 # prevent browser hang if test fails
- run: 'npm run build'