Skip to content

Converge the identity of the server and the browser #25

Converge the identity of the server and the browser

Converge the identity of the server and the browser #25

name: Deploy preview
on:
pull_request:
types:
- synchronize
- opened
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v4
with:
path: node_modules
key: node_modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: npm ci
- name: Build package
run: npm run build
- name: Publish preview
run: npx pkg-pr-new publish --compact --comment=update