Skip to content

Commit 65c5872

Browse files
Merge pull request #30 from QuickDevelopment/auto-deploy
Test 2.0.4
2 parents 7a5f368 + a60e69e commit 65c5872

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/auto-deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ jobs:
2121
echo "@quickdevelopment:registry=https://npm.pkg.github.com" >> .npmrc
2222
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
2323
24+
- name: Publish to npm Registry
25+
run: npm publish
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Remove GitHub Package Registry configuration
30+
run: rm .npmrc
31+
2432
- name: Configure npm Registry
2533
run: |
2634
echo "@quickdevelopment:registry=https://registry.npmjs.org/" > .npmrc
@@ -29,4 +37,4 @@ jobs:
2937
- name: Publish to npm Registry
3038
run: npm publish
3139
env:
32-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@quickdevelopment/wp-js",
33
"private": false,
4-
"version": "2.0.3",
4+
"version": "2.0.4",
55
"repository": "https://github.com/QuickDevelopment/wp-js",
66
"author": "QuickDevelopment",
77
"license": "MIT",

0 commit comments

Comments
 (0)