name: Continuous Integration on: pull_request: branches: - main push: branches: - main permissions: contents: read jobs: test-javascript: name: JavaScript Tests & Linters runs-on: ubuntu-latest steps: - name: Checkout id: checkout uses: actions/checkout@v4 - name: Setup Node.js id: setup-node uses: actions/setup-node@v4 with: node-version-file: .nvmrc cache: npm - name: Install Dependencies id: npm-ci run: npm ci - name: Lint id: npm-lint run: npm run lint - name: Test id: npm-test run: npm run test