Skip to content

Feat/23 web vitals (#25) #104

Feat/23 web vitals (#25)

Feat/23 web vitals (#25) #104

name: GitHub Actions Test
on:
- push
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: echo "path=$(pnpm store path)" > $GITHUB_OUTPUT
id: store-path
- name: Cache pnpm modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-pnpm-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ${{ steps.store-path.outputs.path }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: pnpm i
- run: pnpm sst install
- run: pnpm test
- run: pnpm build