release: bump version to 2.3.0 (#25) #67
Workflow file for this run
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 React Cookie Service to NPM | |
on: | |
push: | |
### Publish on new tag release | |
tags: | |
- v* | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: npm install --force | |
- name: Build project | |
run: npm run build react-cookie-service | |
- name: Run Tests | |
run: npm test react-cookie-service | |
- name: Publish to NPM | |
uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: libs/react-cookie-service/package.json | |
access: public |