Skip to content

Commit

Permalink
test integration workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trueberryless committed Jan 9, 2025
1 parent d9b28a6 commit a26bbb7
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Integration

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}

env:
NODE_VERSION: 20

jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm

- name: Install dependencies
run: pnpm install

# - name: Generates docs TypeScript types
# run: pnpm astro sync
# working-directory: docs

- name: Test
run: pnpm test

0 comments on commit a26bbb7

Please sign in to comment.