Skip to content

Merge pull request #18 from coinbase/support-initial-vals #7

Merge pull request #18 from coinbase/support-initial-vals

Merge pull request #18 from coinbase/support-initial-vals #7

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