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

chore: add CI #6

Merged
merged 7 commits into from
Oct 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading