Skip to content

Commit

Permalink
finish switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
EndangeredMassa committed Dec 12, 2024
1 parent 61d4efa commit e63fe3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
with:
go-version: '1.16.4'

- name: Use pnpm
run: corepack enable pnpm && pnpm --version

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
Expand All @@ -38,13 +35,16 @@ jobs:
- name: Print Node.js Version
run: node --version

- name: Use pnpm
run: corepack enable pnpm && pnpm --version

- name: Install Dependencies
run: npm install
run: pnpm install
env:
CI: true

- name: Run "build" step
run: npm run build --if-present
run: pnpm build
env:
CI: true

Expand All @@ -54,7 +54,7 @@ jobs:
CI: true

- name: Run tests
run: npm test
run: pnpm test
env:
CI: true

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"report-codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint:staged": "lint-staged",
"prettier": "prettier --write --single-quote './{src,test}/**/*.ts'",
"prepublishOnly": "npm run build && rm -rf dist/test"
"prepublishOnly": "pnpm run build && rm -rf dist/test"
},
"files": [
"dist/src"
Expand Down

0 comments on commit e63fe3b

Please sign in to comment.