test.yml (290B)
1 name: Test 2 3 on: [push, pull_request] 4 5 jobs: 6 build: 7 runs-on: ubuntu-latest 8 9 steps: 10 - uses: actions/checkout@v3 11 - uses: actions/setup-node@v3 12 with: 13 node-version: "lts/*" 14 - run: npm ci 15 - run: npm run build --if-present 16 - run: npm test