Bump actions/setup-node from 4 to 5 #127
Workflow file for this run
This file contains hidden or 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: "Lint and test" | |
| on: [push, pull_request] | |
| jobs: | |
| build-and-test: | |
| strategy: | |
| matrix: | |
| node-version: ["14", "16", "17", "18"] | |
| name: "Lint and test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout the repository" | |
| uses: actions/checkout@v5 | |
| - name: "Set up Node ${{ matrix.node-version }}" | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: "Install dependencies" | |
| run: | | |
| npm install | |
| - name: "Lint" | |
| run: | | |
| npx grunt jshint | |
| - name: "Test (Node.js)" | |
| run: | | |
| npx grunt test-node | |
| - name: "Test (Browser)" | |
| run: | | |
| npx grunt test-browser |