File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 86
86
echo "Main ENV : ${{ env.IS_MAIN_ENVIRONMENT }}"
87
87
NODE_VERSION="$(node -v)"
88
88
echo "Node version: $NODE_VERSION"
89
- # This ensures that we are authenticated without requiring to have an actual .npmrc file within the project
90
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
91
89
92
90
- name : Install dependencies
93
91
run : |
@@ -150,6 +148,10 @@ jobs:
150
148
mkdir -p $LOGS_DIR
151
149
touch $LOGS_FILE
152
150
151
+ # This ensures that we are authenticated without requiring to have an actual .npmrc file within the project
152
+ - name : Set npm token
153
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
154
+
153
155
- name : Release
154
156
run : npm run release:publish
155
157
You can’t perform that action at this time.
0 commit comments