forked from w3c/spec-prod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: use pnpm instead of yarn (w3c#148)
- Loading branch information
1 parent
fda900a
commit 3fb0c16
Showing
8 changed files
with
713 additions
and
663 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- "action.yml" | ||
- "tsconfig.json" | ||
- "package.json" | ||
- "yarn.lock" | ||
- "pnpm-lock.yaml" | ||
- ".github/workflows/**" | ||
|
||
env: | ||
|
@@ -20,10 +20,13 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: yarn | ||
- run: yarn | ||
- run: yarn lint | ||
- run: yarn build --noEmit | ||
node-version: 16 | ||
cache: pnpm | ||
- run: pnpm i | ||
- run: pnpm lint | ||
- run: pnpm build --noEmit |
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 |
---|---|---|
|
@@ -3,3 +3,6 @@ python_modules | |
.vscode | ||
*.js | ||
*.map | ||
package-lock.json | ||
yarn.lock | ||
*.log |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# copied from .gitignore | ||
# https://github.com/prettier/prettier/issues/8048 | ||
node_modules | ||
python_modules | ||
.vscode | ||
*.js | ||
*.map | ||
package-lock.json | ||
yarn.lock | ||
*.log | ||
|
||
# actual .prettierignore | ||
pnpm-lock.yaml |
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,19 +49,22 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: Set up action | ||
run: | | ||
echo "::group::Set up action" | ||
yarn --cwd ${{ github.action_path }} --ignore-optional | ||
yarn --cwd ${{ github.action_path }} build | ||
pnpm -C ${{ github.action_path }} install --no-optional | ||
pnpm -C ${{ github.action_path }} build | ||
echo "::endgroup::" | ||
shell: bash | ||
env: | ||
FORCE_COLOR: true | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1 | ||
FORCE_COLOR: "true" | ||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "1" | ||
- name: Prepare | ||
id: prepare | ||
run: | | ||
|
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.