Skip to content

chore: ⚑ Run tests weekly #9

chore: ⚑ Run tests weekly

chore: ⚑ Run tests weekly #9

Workflow file for this run

name: Build & Test the package
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * SUN" # Run every 00:00 on Sunday
workflow_dispatch:
jobs:
test:
name: Test Package
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setting up node v18.x
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build Page using tsup
run: pnpm run build
- name: Run tests
run: pnpm run test