Skip to content

Commit 6479ff5

Browse files
committed
chore: use pnpm
1 parent 623bc10 commit 6479ff5

File tree

5 files changed

+12
-3514
lines changed

5 files changed

+12
-3514
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
# don't diff machine generated files
44
dist/ -diff
55
package-lock.json -diff
6+
pnpm-lock.yaml -diff

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: apm -v
3030
- name: Install APM dependencies
3131
run: |
32-
apm ci # uses locked module. use `apm install` for non-locked
32+
apm install
3333
3434
Release:
3535
needs: [Test]
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
node-version: "14.x"
4545
- name: NPM install
46-
run: npm ci
46+
run: npm install
4747
- name: Release 🎉
4848
uses: cycjimmy/semantic-release-action@v2
4949
env:

.github/workflows/bump_deps.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ on:
55
- cron: "0 0 * * *"
66

77
jobs:
8-
build:
8+
Bump_Dependencies:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2-beta
1313
with:
1414
node-version: "14"
15+
- name: Setup PNPM
16+
uses: pnpm/[email protected]
17+
with:
18+
version: latest
1519
- run: |
16-
npm ci
17-
npm run bump
18-
npm install
20+
pnpm install
21+
pnpm run bump
22+
pnpm install
1923
- uses: peter-evans/create-pull-request@v2
2024
with:
2125
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Thumbs.db
44

55
# Node
66
node_modules
7+
package-lock.json
78

89
# TypeScript
910
*.tsbuildinfo

0 commit comments

Comments
 (0)