Skip to content

fix(deps): update node.js to v22 #4219

fix(deps): update node.js to v22

fix(deps): update node.js to v22 #4219

Workflow file for this run

name: Checks
on: push
jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.16.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Run eslint
run: yarn lint
- name: Run prettier
run: yarn prettier
cypress-percy:
name: Cypress percy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.16.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: Percy Test
uses: percy/[email protected]
with:
custom-command: "yarn cypress:ci"
verbose: true
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}