File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,12 @@ jobs:
2323 run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
2424 env :
2525 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
26- - name : Build, Version, and Publish to npm using Docker
26+ - name : Build and Publish to npmjs
2727 env :
28- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
29- NPM_VERSION : ' 1.0.0'
28+ NPM_VERSION : ' 1.0.0'
3029 run : |
3130 docker run --rm \
3231 -w "/app" \
33- -v $PWD:/app \
34- -v ${{ github.workspace }}/.npmrc:/root/.npmrc \
35- node:16 bash -c "npm i --no-save -q; npm run build; npm version ${NPM_VERSION} > version.txt; npm publish --tag dev; chown -R $(id -u):$(id -g) ."
32+ -v " $PWD:/app" \
33+ -v " ${{ github.workspace }}/.npmrc:/root/.npmrc" \
34+ node:8 bash -c "npm i --no-save -q; npm run build; npm version ${NPM_VERSION} > version.txt; npm publish --tag dev; chown -R $(id -u):$(id -g) ."
You can’t perform that action at this time.
0 commit comments