Skip to content

fix: authState getting wiped on page reload on static websites #303

fix: authState getting wiped on page reload on static websites

fix: authState getting wiped on page reload on static websites #303

Workflow file for this run

name: Publish Commit
on:
push:
branches:
- '**'
tags:
- '!**'
pull_request:
env:
NODE_VER: 22.11
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js ${{ env.NODE_VER }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
- name: Install deps
run: pnpm i
- name: Build and pack
run: pnpm prepack
- name: Publish package preview
run: pnpx pkg-pr-new publish --compact