Skip to content

Commit

Permalink
chore(ci): updates npm version in release script (#43)
Browse files Browse the repository at this point in the history
As explained in [this issue](npm/cli#7279),
it's important to keep NPM set to the latest if you're verifying
signatures to ensure that you're using the latest signature logic.
  • Loading branch information
Tbhesswebber authored Mar 26, 2024
1 parent 8022310 commit 3ad1e75
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 161 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
version: 8
run_install: |
- recursive: true
# @see https://github.com/npm/cli/issues/7279
- name: Update npm to latest
run: npm install -g npm
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
lint-code:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
version: 8
run_install: |
- recursive: true
# @see https://github.com/npm/cli/issues/7279
- name: Update npm to latest
run: npm install -g npm
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@
"license": "ISC",
"devDependencies": {
"@tbhesswebber/eslint-config": "file:",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"conventional-changelog-angular": "^7.0.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^51.0.0",
"eslint-plugin-unicorn": "^51.0.1",
"prettier": "^3.2.5",
"semantic-release": "^23.0.5",
"typescript": "^5.0.0"
"typescript": "^5.4.2"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.0",
Expand Down
Loading

0 comments on commit 3ad1e75

Please sign in to comment.