Skip to content

Commit

Permalink
Use pnpm for GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-konda committed Sep 13, 2024
1 parent 52f83de commit 71991fd
Showing 1 changed file with 39 additions and 21 deletions.
60 changes: 39 additions & 21 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,50 @@ jobs:
runs-on: ubuntu-latest
name: "Linux test"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: yarn install
- run: yarn build
- run: npm link && sc2ktojson -v
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: npm link && sc2ktojson -v
mac_test_job:
runs-on: macos-latest
name: macOS test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: yarn install
- run: yarn build
- run: npm link && sc2ktojson -v
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: npm link && sc2ktojson -v
win_test_job:
runs-on: windows-latest
name: Windows test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: yarn install
- run: yarn build
- run: npm link && sc2ktojson -v
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: npm link && sc2ktojson -v

0 comments on commit 71991fd

Please sign in to comment.