Skip to content

Commit

Permalink
ci(ts): use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Aug 30, 2024
1 parent 2629087 commit b5a0558
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ repos:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-xml
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,21 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
# cache: "npm"
# cache: "pnpm"

- name: Build
run: |
npm i
npm run build
pnpm i
pnpm build
- name: Test
run: npm test
run: pnpm test
{% endraw %}
1 change: 1 addition & 0 deletions template/ts/{{cookiecutter.project_slug}}/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@types/node": "^22.5.1",
"axios": "^1.7.5",
"toml": "^3.0.0"
},
Expand Down

0 comments on commit b5a0558

Please sign in to comment.