Skip to content

ci: release (#122) #184

ci: release (#122)

ci: release (#122) #184

Workflow file for this run

name: integration
permissions: {}
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 }}
jobs:
lint_test:
name: Lint & Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 8.6.3
- name: Install Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
cache: pnpm
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Generates docs TypeScript types
run: pnpm astro sync
working-directory: docs
- name: Generates example TypeScript types
run: pnpm astro sync
working-directory: example
- name: Test
run: pnpm test
- name: Lint
run: pnpm lint