Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 20, 2024
1 parent 2b7de1e commit 719c2f8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 21
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: pnpm install --ignore-scripts
- name: Run tests
run: pnpm test

Expand All @@ -40,16 +40,16 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: pnpm install --ignore-scripts
- name: Run unit tests
run: pnpm vitest run

Expand All @@ -67,16 +67,16 @@ jobs:
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: pnpm install --ignore-scripts
- name: Build
run: pnpm build
- name: Deploy
Expand Down

0 comments on commit 719c2f8

Please sign in to comment.