Skip to content

Commit

Permalink
chore(build): Yarn 4 using Node.js Corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Jan 12, 2024
1 parent f6fd453 commit da43e4d
Show file tree
Hide file tree
Showing 4 changed files with 3,304 additions and 1,900 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: yarn install --no-progress --frozen-lockfile
node-version: '20'
- run: corepack enable
- run: yarn install
- run: yarn test
- run: yarn build
- uses: peaceiris/actions-gh-pages@v3
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "3.0.0",
"description": "Add {{Location}} and {{Object location}} to images on Wikimedia Commons",
"private": true,
"packageManager": "[email protected]",
"type": "module",
"main": "app/index.js",
"scripts": {
Expand Down
Loading

0 comments on commit da43e4d

Please sign in to comment.