Update action to Node.js version 20, POST
requests now done with fetch()
#107
Workflow file for this run
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: Pull Request Workflow | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.11.1" | |
- uses: mangs/super-cache-action@v3 | |
id: super-cache | |
- if: steps.super-cache.outputs.cache-hit != 'true' | |
run: npm ci | |
# Task execution | |
- run: npm run validate:formatting | |
- run: npm run validate:linting:eslint | |
- run: npm run lint:javascript |