File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 publish-to-npm :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ id-token : write
1215 steps :
1316 - name : Checkout
1417 uses : actions/checkout@v3
1518
1619 - name : Install pnpm
1720 uses : pnpm/action-setup@v4
1821 with :
19- version : 9
22+ version : 10
2023
2124 - uses : actions/setup-node@v4
2225 with :
@@ -25,13 +28,15 @@ jobs:
2528 scope : ${{ github.repository_owner }}
2629 cache : pnpm
2730
31+ # pnpm uses npm under the hood, so we need to upgrade it to the latest version to suport OIDC
32+ - name : Install npm@11
33+ run : npm install -g npm@11
34+
2835 - name : Install dependencies
2936 run : pnpm install --frozen-lockfile
3037
3138 - name : Publish 🚀
3239 run : pnpm publish --no-git-checks --access=public
33- env :
34- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
3540
3641 publish-to-github :
3742 runs-on : ubuntu-latest
4550 - name : Install pnpm
4651 uses : pnpm/action-setup@v4
4752 with :
48- version : 9
53+ version : 10
4954
5055 - uses : actions/setup-node@v4
5156 with :
Original file line number Diff line number Diff line change 11{
22 "name" : " @1inch/eslint-config" ,
3- "version" : " 3.0.7 " ,
3+ "version" : " 3.0.8 " ,
44 "main" : " index.mjs" ,
55 "license" : " UNLICENSED" ,
66 "dependencies" : {
77 "semver" : " ^7.5.2"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " https://github.com/1inch/eslint-config" ,
12+ "directory" : " @1inch/eslint-config"
813 },
914 "scripts" : {
1015 "changelog:generate" : " changelog generate -a"
You can’t perform that action at this time.
0 commit comments