-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #353 from arkedge/feature/move-to-pnpm
Move NodeJS package manager to pnpm
- Loading branch information
Showing
12 changed files
with
1,750 additions
and
2,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,10 +49,14 @@ jobs: | |
- name: setup c2a-core | ||
run: ./setup.sh | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
package_json_file: examples/${{ matrix.c2a_user }}/package.json | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
cache: npm | ||
cache-dependency-path: examples/${{ matrix.c2a_user }}/package-lock.json | ||
cache: pnpm | ||
cache-dependency-path: examples/${{ matrix.c2a_user }}/pnpm-lock.yaml | ||
|
||
- name: Cache C2A devtools | ||
id: cache-c2a-devtools | ||
|
@@ -88,7 +92,7 @@ jobs: | |
- name: the heaviest objects in universe | ||
working-directory: ./examples/mobc | ||
run: | | ||
npm ci | ||
pnpm install --frozen-lockfile | ||
- name: build mobc C2A | ||
if: matrix.c2a_user == 'subobc' | ||
|
@@ -105,7 +109,7 @@ jobs: | |
if: matrix.c2a_user == 'mobc' | ||
working-directory: ./examples/mobc | ||
run: | | ||
npm run devtools:sils & | ||
pnpm run devtools:sils & | ||
sleep 3 | ||
- name: run C2A (mobc & subobc) | ||
if: matrix.c2a_user == 'subobc' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,16 @@ jobs: | |
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 9 | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: install | ||
run: | | ||
npm install -g renovate | ||
pnpm install -g renovate | ||
- name: validate | ||
run: | | ||
renovate-config-validator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.