Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Dec 26, 2023
1 parent 24f1008 commit 35bee27
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/master-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,30 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ vars.NODE_VERSION}}
cache: 'yarn'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install
run: yarn install
run: pnpm install
- name: Build
run: yarn run build
run: pnpm run build
- name: Lint
run: yarn run lint
run: pnpm run lint
- name: Get tag name
id: extract-tag
run: |
Expand Down

0 comments on commit 35bee27

Please sign in to comment.