Skip to content

Commit

Permalink
chore(ci): enable corepack (#462)
Browse files Browse the repository at this point in the history
* chore: use corepack

* chore: enable corepack on CI
  • Loading branch information
x1unix authored Jan 24, 2025
1 parent de2c08d commit e20d46e
Show file tree
Hide file tree
Showing 6 changed files with 10,940 additions and 7,586 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Enable Corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:

env:
GO_VERSION: 1.23
NODE_VERSION: lts/iron
WASM_API_VER: v2
PREV_GO_VERSION: 1.22

Expand Down Expand Up @@ -69,9 +68,14 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v3

- name: Enable Corepack
run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: "${{env.NODE_VERSION}}"
cache: 'yarn'
node-version-file: '.nvmrc'
cache-dependency-path: 'web/yarn.lock'

- name: Setup dependencies
run: sudo apt-get update && sudo apt-get install -y make
Expand Down
1 change: 1 addition & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
public/data/*.json

# dependencies
/.yarn
/node_modules
/.pnp
.pnp.js
Expand Down
1 change: 1 addition & 0 deletions web/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"type": "module",
"version": "0.1.0",
"private": true,
"packageManager": "[email protected]+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728",
"dependencies": {
"@fluentui/react": "^8.52.3",
"@monaco-editor/loader": "^1.4.0",
Expand Down Expand Up @@ -109,6 +110,5 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {}
}
}
Loading

0 comments on commit e20d46e

Please sign in to comment.