chore(deps): update dependency @types/node to v22 #3519
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
ci: | |
name: CI | |
permissions: write-all | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.x.x | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Start Supabase | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
timeout_minutes: 5 | |
retry_on: error | |
command: pnpm supabase start -x edge-runtime,logflare,vector,studio,imgproxy,pgadmin-schema-diff,migra,postgres-meta | |
- name: 🦺 Check Format and Lint | |
id: static | |
run: pnpm run check | |
- name: 📦 Build Packages | |
id: build | |
run: pnpm run build:packages | |
- name: 🚧 Test | |
id: test | |
run: pnpm turbo run test --concurrency=1 | |
- name: Upload postgrest-core coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/postgrest-core/coverage/coverage-final.json | |
flags: postgrest-core | |
- name: Upload postgrest-react-query coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/postgrest-react-query/coverage/coverage-final.json | |
flags: postgrest-react-query | |
- name: Upload postgrest-swr coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/postgrest-swr/coverage/coverage-final.json | |
flags: postgrest-swr | |
- name: Upload storage-core coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/storage-core/coverage/coverage-final.json | |
flags: storage-core | |
- name: Upload storage-swr coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/storage-swr/coverage/coverage-final.json | |
flags: storage-swr | |
- name: Upload storage-react-query coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/storage-react-query/coverage/coverage-final.json | |
flags: storage-react-query | |
- name: Upload postgrest-server coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/postgrest-server/coverage/coverage-final.json | |
flags: postgrest-server |