Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
Newdea committed Dec 30, 2023
1 parent 6bb378e commit c7fb9f6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,21 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Install Dependencies
run: npm install -g pnpm && pnpm install

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
cache: "npm"
node-version: "20.x"
cache: "pnpm"
- run: pnpm i

# - name: Eslint
# run: npm run lint
# run: pnpm run lint

- name: Run test
run: npm run test
run: pnpm run test

pretty:
needs: validate
Expand Down

0 comments on commit c7fb9f6

Please sign in to comment.