mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 13:48:14 +00:00
Replace NPM_TOKEN with OIDC-based trusted publishing. Bump Node to 24 LTS (bundles npm 11 which supports OIDC). Add @videojs/store and @videojs/element to release-please config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
772 B
YAML
41 lines
772 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'rfc/**'
|
|
pull_request:
|
|
branches-ignore:
|
|
- 'rfc/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v5
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: pnpm
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Cache turbo build setup
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: .turbo
|
|
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
restore-keys: |
|
|
${{ runner.os }}-turbo-
|
|
|
|
- name: Build
|
|
run: pnpm build:packages
|