CI(GitHub Actions): fix npm-pub.yml to publish correctly
Summary: Fix P185 failure. Also fix L1 (`npm pkg fix`) for (eslint|prettier)-config. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `arc lint`, and push tag again Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D358
This commit is contained in:
parent
0b10676c4f
commit
cbfa3411b3
3 changed files with 8 additions and 2 deletions
6
.github/workflows/npm-pub.yml
vendored
6
.github/workflows/npm-pub.yml
vendored
|
@ -11,6 +11,9 @@ jobs:
|
|||
eslint-config:
|
||||
name: 'Publish eslint-config to npm'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: contains(github.ref_name, 'eslint-config@')
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
|
@ -32,6 +35,9 @@ jobs:
|
|||
prettier-config:
|
||||
name: 'Publish prettier-config to npm'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: contains(github.ref_name, 'prettier-config@')
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/revi/sandbox.git",
|
||||
"url": "git+https://github.com/revi/sandbox.git",
|
||||
"directory": "npm/eslint-config"
|
||||
},
|
||||
"author": {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/revi/sandbox.git",
|
||||
"url": "git+https://github.com/revi/sandbox.git",
|
||||
"directory": "npm/prettier-config"
|
||||
},
|
||||
"bugs": {
|
||||
|
|
Loading…
Reference in a new issue