meta: Update for Hyas community health files
This commit is contained in:
38
.github/workflows/hyas-ci.yml
vendored
Normal file
38
.github/workflows/hyas-ci.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
name: Hyas CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
pull_request:
|
||||
branches: main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Build: ${{ matrix.os }}"
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 3
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
node-version: [18.x, 20.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup node@${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linters
|
||||
run: npm run lint --if-present
|
||||
|
||||
- name: Build site
|
||||
run: npm run build
|
||||
|
||||
# - name: Run tests
|
||||
# run: npm test --if-present
|
Reference in New Issue
Block a user