update version to 16.0.3 #659
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
## only works on master branch | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
registry-url: https://registry.npmjs.org/ | |
- run: npx can-npm-publish | |
- name: Install | |
run: npm ci | |
- name: Publish | |
## prepublishOnly has done build and test tasks | |
uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: "${{ secrets.NPM_AUTH_TOKEN }}" | |
- name: Git-tag | |
uses: butlerlogic/action-autotag@stable | |
with: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
tag_prefix: "v" |