Skip to content

chore: upgrades NPM deps (#276) #8

chore: upgrades NPM deps (#276)

chore: upgrades NPM deps (#276) #8

Workflow file for this run

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: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Install PNPM Dependencies
run: pnpm install --frozen-lockfile
- name: Build project
run: pnpm build:ngx-cookie-service-ssr
- name: Publish to NPM registry
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: dist/ngx-cookie-service-ssr/package.json
access: public