File tree 2 files changed +32
-0
lines changed
2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dev Publish
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ checks : read
11
+ statuses : write
12
+ contents : write
13
+ packages : write
14
+ id-token : write
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-node@v4
18
+ with :
19
+ node-version : 22
20
+ cache : ' yarn'
21
+ - name : build
22
+ run : |
23
+ yarn install --immutable
24
+ yarn workspace esbuild-node-externals build
25
+
26
+ - run : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
27
+ env :
28
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
29
+ - run : |
30
+ yarn workspace esbuild-node-externals npm version $(node --eval="process.stdout.write(require('./package.json').version)")-dev.$(git rev-parse --short HEAD) --no-git-tag-version
31
+ yarn workspace esbuild-node-externals npm publish --provenance --access=public --no-git-tag-version --tag dev
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ node_modules
7
7
# Build artefacts
8
8
dist
9
9
temp
10
+ .npmrc
You can’t perform that action at this time.
0 commit comments