Skip to content

Merge pull request #17 from coinbase/server-side-render #6

Merge pull request #17 from coinbase/server-side-render

Merge pull request #17 from coinbase/server-side-render #6

name: Publish cookie-manager
on:
push:
tags: ['v*-cookie-manager']
jobs:
check:
strategy:
fail-fast: true
name: Publish cookie-manager
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Build cookie-manager
run: |
yarn install
yarn build
- name: Test cookie-manager
run: |
yarn test
- name: Publish cookie-manager
working-directory: ./packages/cookie-manager
run: |
yarn publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
id: publish-cookie-manager