Skip to content

Commit 7984fe2

Browse files
committed
build: fix CI to adapt to Yarn Berry
1 parent fdf705a commit 7984fe2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
node-version: 20
1515
cache: yarn
1616
- name: Install dependencies
17-
run: yarn install --frozen-lockfile
17+
run: yarn install --immutable
1818
- name: Lint
1919
# TODO: Add proper linting command
2020
run: yarn format
@@ -31,6 +31,6 @@ jobs:
3131
node-version: 20
3232
cache: yarn
3333
- name: Install dependencies
34-
run: yarn install --frozen-lockfile
34+
run: yarn install --immutable
3535
- name: Test
3636
run: yarn test

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
node-version: 20
4242
cache: yarn
4343
- name: Install dependencies
44-
run: yarn install --frozen-lockfile
44+
run: yarn install --immutable
4545

4646
- name: Package
4747
run: yarn run package

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"download-lsp": "node scripts/lsp.js",
8686
"format": "yarn prettier . --write",
8787
"vscode:prepublish": "yarn run download-lsp && yarn run build",
88-
"package": "vsce package",
88+
"package": "vsce package --no-dependencies",
8989
"test:syntax": "yarn run build:syntax && vscode-tmgrammar-test ./tests/syntaxes/*",
9090
"test": "yarn test:syntax"
9191
},

0 commit comments

Comments
 (0)