Use const
where possible in grunt configuration code
#26
This file contains 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: Run tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Node ${{matrix.node}} on ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
node: [ 20.x ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{matrix.node}} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{matrix.node}} | |
- name: Install npm dependencies | |
run: npm install | |
- name: Test | |
run: npm test |