Update dependency @types/node to v22.10.8 #322
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: CI | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
# lint: | |
# name: Lint | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out Git repository | |
# uses: actions/checkout@v3 | |
# - name: Set up Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 20 | |
# - name: Install Node.js dependencies | |
# run: yarn | |
# - name: yarn lint | |
# run: | | |
# yarn format-and-lint | |
# test: | |
# name: Node.js ubuntu-latest 20.x | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out Git repository | |
# uses: actions/checkout@v3 | |
# - name: Set up Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 20 | |
# - name: before cache | |
# run: | | |
# mkdir -p node_modules | |
# ls node_modules | |
# - name: Get yarn cache directory path | |
# id: yarn-cache-dir-path | |
# run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
# - name: Cache/Restore node_modules | |
# id: cache-dependencies | |
# uses: actions/cache@v3 | |
# with: | |
# path: node_modules | |
# key: ${{ runner.OS }}-node_modules-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | |
# - name: Get yarn cache dir | |
# if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
# id: cache-yarn | |
# run: echo "::set-output name=dir::$(yarn cache dir)" | |
# - name: Cache/Restore yarn cache | |
# if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
# uses: actions/cache@v3 | |
# with: | |
# path: ${{ steps.cache-yarn.outputs.dir }} | |
# key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | |
# restore-keys: | | |
# ${{ runner.os }}-yarn-${{ matrix.node-version }}- | |
# # ESLint and Prettier must be in `package.json` | |
# - name: Install Node.js dependencies | |
# if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
# run: yarn | |
# - name: yarn test | |
# run: | | |
# yarn test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Node.js dependencies | |
run: yarn | |
- name: yarn build | |
run: | | |
yarn build |