Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BLxcwg666 authored Apr 6, 2024
1 parent e48cede commit 4078fd1
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ jobs:
test:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
- name: Use Node 18
uses: actions/setup-node@v3
with:
node-version: 18

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm test
- name: Install Dependencies
run: npm install -g pnpm && pnpm install

- name: Test
run: pnpm test

0 comments on commit 4078fd1

Please sign in to comment.