Skip to content

Merge pull request #72 from mislav/dependabot/npm_and_yarn/octokit/pl… #136

Merge pull request #72 from mislav/dependabot/npm_and_yarn/octokit/pl…

Merge pull request #72 from mislav/dependabot/npm_and_yarn/octokit/pl… #136

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- name: Run tests
run: |
STATUS=0
npm test || STATUS=$?
npm run lint -- --max-warnings=0 || STATUS=$?
exit $STATUS