@@ -80,33 +80,33 @@ jobs:
80
80
# Then uncomment the following block:
81
81
82
82
# # Deploys the final package to NPM
83
- # deploy:
84
- # needs: [adapter-tests]
85
- #
86
- # # Trigger this step only when a commit on master is tagged with a version number
87
- # if: |
88
- # contains(github.event.head_commit.message, '[skip ci]') == false &&
89
- # github.event_name == 'push' &&
90
- # github.event.base_ref == 'refs/heads/master' &&
91
- # startsWith(github.ref, 'refs/tags/v')
92
- #
93
- # runs-on: ubuntu-latest
94
- # strategy:
95
- # matrix:
96
- # node-version: [12 .x]
97
- #
98
- # steps:
99
- # - uses: actions/checkout@v1
100
- # - name: Use Node.js ${{ matrix.node-version }}
101
- # uses: actions/setup-node@v1
102
- # with:
103
- # node-version: ${{ matrix.node-version }}
104
- #
105
- # - name: Publish package to npm
106
- # run: |
107
- # npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
108
- # npm whoami
109
- # npm publish
83
+ deploy :
84
+ needs : [adapter-tests]
85
+
86
+ # Trigger this step only when a commit on master is tagged with a version number
87
+ if : |
88
+ contains(github.event.head_commit.message, '[skip ci]') == false &&
89
+ github.event_name == 'push' &&
90
+ github.event.base_ref == 'refs/heads/master' &&
91
+ startsWith(github.ref, 'refs/tags/v')
92
+
93
+ runs-on : ubuntu-latest
94
+ strategy :
95
+ matrix :
96
+ node-version : [18 .x]
97
+
98
+ steps :
99
+ - uses : actions/checkout@v1
100
+ - name : Use Node.js ${{ matrix.node-version }}
101
+ uses : actions/setup-node@v1
102
+ with :
103
+ node-version : ${{ matrix.node-version }}
104
+
105
+ - name : Publish package to npm
106
+ run : |
107
+ npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
108
+ npm whoami
109
+ npm publish
110
110
111
111
# Dummy job for skipped builds - without this, github reports the build as failed
112
112
skip-ci :
0 commit comments