first try
This commit is contained in:
42
.github/workflows/integrate.yaml
vendored
Normal file
42
.github/workflows/integrate.yaml
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
name: Integrate
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: true
|
||||
|
||||
- name: Build action
|
||||
run: pnpm build
|
||||
|
||||
- name: Package action
|
||||
run: pnpm package
|
||||
|
||||
coding-standards:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Biome
|
||||
uses: biomejs/setup-biome@v2
|
||||
|
||||
- name: Run Biome
|
||||
run: biome ci .
|
||||
34
.github/workflows/test.yaml
vendored
Normal file
34
.github/workflows/test.yaml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
[
|
||||
ubuntu-24.04,
|
||||
ubuntu-24.04-arm,
|
||||
macos-13,
|
||||
macos-latest,
|
||||
windows-11-arm,
|
||||
windows-latest,
|
||||
]
|
||||
version: ["latest", "3.10.2"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup SOPS
|
||||
uses: ./
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
- name: Test SOPS
|
||||
run: sops --version
|
||||
Reference in New Issue
Block a user