Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

chore(deps): update Node.js to v20 #320

chore(deps): update Node.js to v20

chore(deps): update Node.js to v20 #320

Workflow file for this run

---
name: CI
on:
push:
branches: [main, 'renovate/**']
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: package.json
- name: Cache Yarn packages
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: 'node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile --ignore-scripts
# - run: yarn check-format
- run: yarn lint
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
# - name: Setup Node.js
# uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
# with:
# node-version-file: package.json
# cache: yarn
# - run: yarn install --frozen-lockfile --ignore-scripts
# - run: yarn test
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: package.json
- name: Cache Yarn packages
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: 'node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile --ignore-scripts
- run: yarn build