Skip to content

Commit

Permalink
REFACTOR/pnpm used in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinSorel committed Dec 24, 2023
1 parent 5f58bde commit 08037b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: pnpm/action-setup@v2
with:
version: 6.0.2

- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16

- name: Install dependencies
run: npm install
run: pnpm install

- name: Run tests
run: npm test
run: pnpm runtime test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"serve:examples": "npx http-server . -o ./examples/",
"test": "pnpm --filter SerendipJS test"
"runtime": "pnpm --filter SerendipJS"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 08037b0

Please sign in to comment.