Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(seeder): github actions #3962

Merged
merged 16 commits into from
Aug 11, 2024
39 changes: 39 additions & 0 deletions .github/workflows/seeder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Seeder

on:
push:
branches: ["master"]
paths: ["seeder/**"]
pull_request:
branches: ["master"]
paths: ["seeder/**"]

defaults:
run:
working-directory: seeder

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
name: Build on ${{ matrix.os }}
steps:
- name: Checkout Seeder
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: seeder/package-lock.json
moonlitgrace marked this conversation as resolved.
Show resolved Hide resolved
- name: Install Dependencies
run: npm ci
- name: Run Build
run: npm run build