We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b938e commit 7ad2a39Copy full SHA for 7ad2a39
.github/workflows/test.yml
@@ -50,3 +50,22 @@ jobs:
50
AWS_SECRET_ACCESS_KEY: ${{ secrets.KEYSECRET_AKIAWS5577QLD5TL6AZN }}
51
AWS_REGION: ${{ matrix.region }}
52
CI: true
53
+
54
55
+ # publish if the version number in package.json differs from the latest on NPM
56
+ publish:
57
+ needs: test
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - uses: actions/checkout@v2
61
+ - name: Use Node.js 10
62
+ uses: actions/setup-node@v1
63
+ with:
64
+ node-version: 10
65
66
+ - run: npm install
67
+ - run: npm test
68
+ - uses: JS-DevTools/npm-publish@v1
69
70
+ token: ${{ secrets.NPM_TOKEN }}
71
+ access: public
0 commit comments