Skip to content

Commit 5c2ea5a

Browse files
committed
build: ⬆️ upgrade deps
1 parent 2614ee5 commit 5c2ea5a

File tree

4 files changed

+674
-583
lines changed

4 files changed

+674
-583
lines changed

.github/actions/setup-pnpm/action.yml

+6-29
Original file line numberDiff line numberDiff line change
@@ -15,44 +15,21 @@ runs:
1515
using: "composite"
1616

1717
steps:
18-
- name: Install Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v3
20-
with:
21-
node-version: ${{ matrix.node-version }}
22-
2318
- name: Install pnpm
2419
uses: pnpm/action-setup@v2
2520
id: pnpm-install
2621
with:
2722
version: 8
2823
run_install: false
2924

30-
- name: Set pnpm home
31-
shell: bash
32-
run: |
33-
echo "PNPM_HOME=$HOME/.local/share/pnpm" >> $GITHUB_ENV
34-
echo "$HOME/.local/share/pnpm" >> $GITHUB_PATH
35-
36-
- name: Get pnpm store directory
37-
id: pnpm-cache
38-
shell: bash
39-
run: |
40-
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
41-
42-
- name: Setup pnpm cache
43-
uses: actions/cache@v3
25+
- name: Install Node.js ${{ matrix.node-version }}
26+
uses: actions/setup-node@v4
4427
with:
45-
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
46-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
47-
restore-keys: |
48-
${{ runner.os }}-pnpm-store-
49-
50-
- name: Authenticate for private NPM package
51-
shell: bash
28+
node-version: ${{ matrix.node-version }}
29+
cache: pnpm
30+
registry-url: 'https://registry.npmjs.org'
5231
env:
53-
NPM_TOKEN: ${{ inputs.npm_token }}
54-
run: |
55-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
32+
NODE_AUTH_TOKEN: ${{ inputs.npm_token }}
5633

5734
- name: Install dependencies
5835
shell: bash

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ jobs:
8080
--coverage
8181
8282
- name: Upload code coverage
83-
uses: codecov/codecov-action@v3
83+
uses: codecov/codecov-action@v4
8484
with:
8585
token: ${{ secrets.CODECOV_TOKEN }}

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@
3333
"homepage": "https://github.com/expatfile/zaraz-ts#readme",
3434
"dependencies": {},
3535
"devDependencies": {
36-
"@testing-library/jest-dom": "^6.2.0",
36+
"@testing-library/jest-dom": "^6.4.2",
3737
"@types/eslint": "^8.56.2",
38-
"@types/jest": "^29.5.11",
39-
"@types/node": "^20.11.4",
40-
"@typescript-eslint/eslint-plugin": "^6.19.0",
41-
"@typescript-eslint/parser": "^6.19.0",
38+
"@types/jest": "^29.5.12",
39+
"@types/node": "^20.11.19",
40+
"@typescript-eslint/eslint-plugin": "^7.0.1",
41+
"@typescript-eslint/parser": "^7.0.1",
4242
"audit-ci": "^6.6.1",
4343
"eslint-config-airbnb-base": "^15.0.0",
4444
"eslint-config-prettier": "^9.1.0",
4545
"eslint-plugin-import": "^2.29.1",
4646
"eslint-plugin-prettier": "^5.1.3",
47-
"eslint-plugin-simple-import-sort": "^10.0.0",
47+
"eslint-plugin-simple-import-sort": "^12.0.0",
4848
"jest": "^29.7.0",
4949
"jest-environment-jsdom": "^29.7.0",
50-
"prettier": "^3.2.2",
51-
"semantic-release": "^23.0.0",
52-
"ts-jest": "^29.1.1",
50+
"prettier": "^3.2.5",
51+
"semantic-release": "^23.0.2",
52+
"ts-jest": "^29.1.2",
5353
"typescript": "^5.3.3"
5454
}
5555
}

0 commit comments

Comments
 (0)