Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
chore: add CI (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante authored Oct 14, 2023
1 parent b7fc2ab commit a5a0e85
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run grit patterns test

env:
GRIT_TELEMETRY_DISABLED: "true"

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

jobs:
test:
runs-on: ${{ matrix.runner }}

strategy:
matrix:
runner: [nscloud-ubuntu-22.04-amd64-4x16]
node-version: [18.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install @getgrit/launcher
run: npm install -g @getgrit/launcher

- name: Run doctor
run: npx grit doctor

- name: Run grit patterns test
run: npx grit patterns test

0 comments on commit a5a0e85

Please sign in to comment.