Merge pull request #287 from stevermeister/development #15
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 ngx-cookie-service-ssr to NPM | |
on: | |
push: | |
### Publish on new tag release | |
tags: | |
- v* | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: npm/action-setup@v2 | |
with: | |
version: latest | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Install NPM Dependencies | |
run: npm install --legacy-peer-deps | |
- name: Build project | |
run: npm run build:ngx-cookie-service-ssr | |
- name: Publish to NPM registry | |
uses: JS-DevTools/npm-publish@v3 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: dist/ngx-cookie-service-ssr/package.json | |
access: public |