Skip to content

Commit

Permalink
ci: try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Jan 13, 2024
1 parent 271ea29 commit fe70d2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,17 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.2

- name: Set node
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: pnpm
cache: npm

- name: Install
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
run: npm install --frozen-lockfile --prefer-offline --ignore-scripts

- name: Lint
run: pnpm lint
run: npm run lint

test:
timeout-minutes: 5
Expand All @@ -50,19 +45,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.2

- name: Set node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
cache: npm

- name: Install
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
run: npm install --frozen-lockfile --prefer-offline --ignore-scripts

- name: Test
run: pnpm test
run: npm run test
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe70d2f

Please sign in to comment.