Skip to content

build: upgrade to Node v20 #2173

build: upgrade to Node v20

build: upgrade to Node v20 #2173

Workflow file for this run

name: Prettier
on:
pull_request:
push:
jobs:
prettier:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Cache Node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npx prettier -c .