Skip to content

Bump cookie and express in /packages/react-layouts (#679) #45

Bump cookie and express in /packages/react-layouts (#679)

Bump cookie and express in /packages/react-layouts (#679) #45

Workflow file for this run

name: Publish packages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run build --if-present
- run: npm test
publish:
needs: test
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node version
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Install all package dependencies
run: npm install
- name: Publish packages
run: npm run publish