Skip to content

Commit

Permalink
remove node 16 and clear warnings for unit-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawyer Burnett committed Mar 18, 2024
1 parent 434d999 commit dcd9b72
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,18 @@ on:
workflow_dispatch:

jobs:
matrix:
name: 'Node ${{ matrix.node }}'
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.2.0
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
- uses: actions/setup-node@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
cache: "pnpm"
node-version: 18
- name: Install dependencies
run: pnpm install

- name: Unit Test
run: pnpm run test

0 comments on commit dcd9b72

Please sign in to comment.