Skip to content

Commit

Permalink
feat: Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkz authored Nov 20, 2024
1 parent 487b2a8 commit aa259fa
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install
- run: node cli.js

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.27"
- name: Release Test
run: uv run --frozen release.py

0 comments on commit aa259fa

Please sign in to comment.