File tree Expand file tree Collapse file tree 7 files changed +4415
-2014
lines changed
Expand file tree Collapse file tree 7 files changed +4415
-2014
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-22.04
88 steps :
99 - uses : actions/checkout@v4
10-
10+ - name : Enable corepack
11+ run : corepack enable
1112 - uses : actions/cache@v4
1213 id : yarn-cache
1314 with :
1415 path : node_modules
1516 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
16-
1717 - name : Install dependencies
1818 run : yarn install
1919
@@ -34,12 +34,11 @@ jobs:
3434 runs-on : ubuntu-22.04
3535 needs : setup
3636 steps :
37- - uses : actions/checkout@v3
37+ - uses : actions/checkout@v4
3838 - uses : actions/cache@v4
3939 id : yarn-cache
4040 with :
4141 path : node_modules
4242 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
4343 - name : Run build test
4444 run : yarn build
45-
Original file line number Diff line number Diff line change 77
88permissions :
99 id-token : write # Required for OIDC
10- contents : read
10+ contents : write # Required for release
1111
1212jobs :
1313 publish :
1414 runs-on : ubuntu-22.04
15-
1615 steps :
1716 - name : Checkout code
18- uses : actions/checkout@v2
19-
17+ uses : actions/checkout@v4
18+ - name : Enable Corepack
19+ run : corepack enable
2020 - name : Set up Node.js
21- uses : actions/setup-node@v2
21+ uses : actions/setup-node@v4
2222 with :
2323 node-version : ' 20.14.0'
2424 registry-url : ' https://registry.npmjs.org'
25-
2625 - name : Install dependencies
2726 run : yarn install --frozen-lockfile
28-
2927 - name : Build production
3028 run : yarn build
31-
3229 - name : Publish to npm
33- run : yarn publish --access public
34-
30+ run : yarn npm publish --access public
3531 - name : Create GitHub release
3632 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change @@ -22,3 +22,12 @@ dist-ssr
2222* .njsproj
2323* .sln
2424* .sw ?
25+
26+ # https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
27+ .pnp. *
28+ .yarn /*
29+ ! .yarn /patches
30+ ! .yarn /plugins
31+ ! .yarn /releases
32+ ! .yarn /sdks
33+ ! .yarn /versions
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
2+
3+ yarnPath : .yarn/releases/yarn-4.12.0.cjs
Original file line number Diff line number Diff line change 11{
22 "name" : " @mycore-org/vue-access-key-manager" ,
3- "private" : false ,
43 "license" : " GPL-3.0-or-later" ,
54 "version" : " 0.1.10" ,
65 "type" : " module" ,
1514 "build" : " vite build" ,
1615 "lint" : " eslint src --max-warnings 0"
1716 },
18- "dependencies" : {},
1917 "peerDependencies" : {
2018 "@jsr/mycore__js-common" : " ^0.0.7" ,
2119 "@mycore-org/vue-components" : " ^0.1.5" ,
5048 "repository" : {
5149 "type" : " git" ,
5250 "url" : " https://github.com/MyCoRe-Org/vue-access-key-manager.git"
53- }
51+ },
52+ "packageManager" : " yarn@4.12.0"
5453}
You can’t perform that action at this time.
0 commit comments