Skip to content

v7.0.1

v7.0.1 #15

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup NodeJS 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Publish universal-cookie to NPM
working-directory: ./packages/universal-cookie
run: npm publish
- name: Publish react-cookie to NPM
working-directory: ./packages/react-cookie
run: npm publish
- name: Publish universal-cookie-express to NPM
working-directory: ./packages/universal-cookie-express
run: npm publish
- name: Publish universal-cookie-koa to NPM
working-directory: ./packages/universal-cookie-koa
run: npm publish