Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit 03d923a

Browse files
Adds EN_LANGUAGE_NAMES and updates yarn to fix pre-commits (#25)
* Adds EN_LANGUAGE_NAMES * Node 22 * Yarn install * no pnpify * Updates yarn * removes pnpms * gitignore
1 parent 8d65b25 commit 03d923a

File tree

83 files changed

+2679
-18278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2679
-18278
lines changed

.depcheckrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ignores: ["@yarnpkg/sdks", "depcheck", "prettier", "@yarnpkg/pnpify"]
1+
ignores: ["@yarnpkg/sdks", "depcheck", "prettier"]

.github/workflows/ci.yml

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
# 'Install yarn v2 dependencies'
1010
- uses: actions/setup-node@v3.1.1
1111
with:
12-
node-version: '14.17.3'
12+
node-version: '22.19.0'
1313
- run: npm install -g "yarn@1.22.5"
1414
shell: bash
1515
- uses: nick-fields/retry@v2
@@ -29,24 +29,36 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ubuntu-latest]
32-
node-version: [12.x, 14.x]
32+
node-version: [22.x]
3333
steps:
3434
- uses: actions/checkout@v2
3535
- name: Use Node.js ${{ matrix.node-version }}
3636
uses: actions/setup-node@v1
3737
with:
3838
node-version: ${{ matrix.node-version }}
39+
- uses: nick-fields/retry@v2
40+
with:
41+
timeout_minutes: 6
42+
max_attempts: 3
43+
retry_on: error
44+
command: yarn install --immutable
3945
- run: yarn && yarn test
4046

4147
run-depcheck:
4248
runs-on: ubuntu-latest
4349
steps:
4450
- uses: actions/checkout@v2
45-
- name: Use Node.js 14.x
51+
- name: Use Node.js 22.x
4652
uses: actions/setup-node@v1
4753
with:
48-
node-version: 14.x
49-
- run: yarn pnpify depcheck
54+
node-version: 22.x
55+
- uses: nick-fields/retry@v2
56+
with:
57+
timeout_minutes: 6
58+
max_attempts: 3
59+
retry_on: error
60+
command: yarn install --immutable
61+
- run: yarn depcheck
5062

5163
run-pre-commits:
5264
runs-on: ubuntu-latest
@@ -55,10 +67,16 @@ jobs:
5567
with:
5668
fetch-depth: 100 # need the history to do a changed files check below (source, origin)
5769
- uses: actions/setup-python@v2
58-
- name: Use Node.js 14.x
70+
- name: Use Node.js 22.x
5971
uses: actions/setup-node@v1
6072
with:
61-
node-version: 14.x
73+
node-version: 22.x
74+
- uses: nick-fields/retry@v2
75+
with:
76+
timeout_minutes: 6
77+
max_attempts: 3
78+
retry_on: error
79+
command: yarn install --immutable
6280
- uses: pre-commit/action@v3.0.1
6381
with:
6482
extra_args: --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }}
@@ -76,7 +94,13 @@ jobs:
7694
uses: actions/checkout@v2
7795
- uses: actions/setup-node@v2
7896
with:
79-
node-version: '14.x'
97+
node-version: '22.x'
98+
- uses: nick-fields/retry@v2
99+
with:
100+
timeout_minutes: 6
101+
max_attempts: 3
102+
retry_on: error
103+
command: yarn install --immutable
80104
- name: Configure NPM authentication
81105
run: |
82106
yarn config set npmAlwaysAuth true
@@ -97,7 +121,13 @@ jobs:
97121
uses: actions/checkout@v2
98122
- uses: actions/setup-node@v2
99123
with:
100-
node-version: '14.x'
124+
node-version: '22.x'
125+
- uses: nick-fields/retry@v2
126+
with:
127+
timeout_minutes: 6
128+
max_attempts: 3
129+
retry_on: error
130+
command: yarn install --immutable
101131
- name: Configure Github Packages authentication
102132
run: |
103133
yarn config set npmAlwaysAuth true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ build/Release
163163
!.yarn/plugins
164164
!.yarn/sdks
165165
!.yarn/versions
166+
.pnp.*
166167

167168
# Dependency directories
168169
node_modules/

0 commit comments

Comments
 (0)