Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
object1037 committed Apr 6, 2024
1 parent 0f8bcd7 commit fb73efb
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: build_and_check

on:
push:
Expand All @@ -11,14 +8,10 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x, 21.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -43,6 +36,13 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build

check:
needs: build
runs-on: ubuntu-latest
steps:
- name: Run Prettier
run: pnpm fmt
- name: Run ESLint
Expand Down

0 comments on commit fb73efb

Please sign in to comment.