Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 committed Oct 9, 2024
1 parent 787f6d5 commit 1f16e44
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,24 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: v18.12.0
node-version: 22
cache: 'pnpm'
cache-dependency-path: pnpm-lock.json

- uses: pnpm/action-setup@v2.1.0
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 8.6.0
run_install: false

- 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
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
version: 9.6.0

- name: Install OSSInsight Types Dependencies
run: pnpm --filter "@ossinsight/types" --frozen-lockfile --strict-peer-dependencies install && pnpm --filter "@ossinsight/types" build

- name: Install Dependencies
run: pnpm i --frozen-lockfile --strict-peer-dependencies

- name: Verify Sources
run: pnpm run test

Expand Down

0 comments on commit 1f16e44

Please sign in to comment.