Skip to content

Update action to Node.js version 20, POST requests now done with fetch() #107

Update action to Node.js version 20, POST requests now done with fetch()

Update action to Node.js version 20, POST requests now done with fetch() #107

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