Skip to content

Commit 35f1582

Browse files
authored
Merge pull request #186 from crazy-max/update-yarn
update yarn to 3.5.1
2 parents 0bdf286 + fd6c5a7 commit 35f1582

9 files changed

Lines changed: 1553 additions & 1330 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: ci
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
schedule:
59
- cron: '0 10 * * *'

.github/workflows/labels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: labels
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: test
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -14,11 +18,6 @@ jobs:
1418
-
1519
name: Checkout
1620
uses: actions/checkout@v3
17-
-
18-
name: Validate
19-
uses: docker/bake-action@v3
20-
with:
21-
targets: validate
2221
-
2322
name: Test
2423
uses: docker/bake-action@v3

.github/workflows/validate.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: validate
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches:
10+
- 'master'
11+
- 'releases/v*'
12+
pull_request:
13+
14+
jobs:
15+
prepare:
16+
runs-on: ubuntu-latest
17+
outputs:
18+
targets: ${{ steps.targets.outputs.matrix }}
19+
steps:
20+
-
21+
name: Checkout
22+
uses: actions/checkout@v3
23+
-
24+
name: Targets matrix
25+
id: targets
26+
run: |
27+
echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT
28+
29+
validate:
30+
runs-on: ubuntu-latest
31+
needs:
32+
- prepare
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
target: ${{ fromJson(needs.prepare.outputs.targets) }}
37+
steps:
38+
-
39+
name: Checkout
40+
uses: actions/checkout@v3
41+
-
42+
name: Validate
43+
uses: docker/bake-action@v3
44+
with:
45+
targets: ${{ matrix.target }}

.yarn/releases/yarn-3.2.4.cjs

Lines changed: 0 additions & 801 deletions
This file was deleted.

.yarn/releases/yarn-3.5.1.cjs

Lines changed: 873 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
logFilters:
2+
- code: YN0013
3+
level: discard
4+
- code: YN0076
5+
level: discard
6+
17
nodeLinker: node-modules
28

39
plugins:
410
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
511
spec: "@yarnpkg/plugin-interactive-tools"
612

7-
yarnPath: .yarn/releases/yarn-3.2.4.cjs
13+
yarnPath: .yarn/releases/yarn-3.5.1.cjs

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@
1919
],
2020
"author": "CrazyMax",
2121
"license": "MIT",
22-
"packageManager": "yarn@3.2.4",
22+
"packageManager": "yarn@3.5.1",
2323
"dependencies": {
2424
"@actions/core": "^1.10.0",
2525
"@actions/github": "^5.1.1",
2626
"js-yaml": "^4.1.0",
2727
"matcher": "^3.0.0"
2828
},
2929
"devDependencies": {
30-
"@types/node": "^18.11.4",
31-
"@typescript-eslint/eslint-plugin": "^5.40.1",
32-
"@typescript-eslint/parser": "^5.40.1",
33-
"@vercel/ncc": "^0.34.0",
30+
"@types/node": "^18.16.5",
31+
"@typescript-eslint/eslint-plugin": "^5.59.2",
32+
"@typescript-eslint/parser": "^5.59.2",
33+
"@vercel/ncc": "^0.36.1",
3434
"dotenv": "^16.0.3",
35-
"eslint": "^8.26.0",
36-
"eslint-config-prettier": "^8.5.0",
37-
"eslint-plugin-jest": "^27.1.3",
35+
"eslint": "^8.40.0",
36+
"eslint-config-prettier": "^8.8.0",
37+
"eslint-plugin-jest": "^27.2.1",
3838
"eslint-plugin-prettier": "^4.2.1",
39-
"jest": "^29.2.1",
40-
"prettier": "^2.7.1",
41-
"ts-jest": "^29.0.3",
39+
"jest": "^29.5.0",
40+
"prettier": "^2.8.8",
41+
"ts-jest": "^29.1.0",
4242
"ts-node": "^10.9.1",
43-
"typescript": "^4.8.4"
43+
"typescript": "^4.9.5"
4444
}
4545
}

0 commit comments

Comments
 (0)