From a5a0e8504b558ec15724ad25b16604e323a81c38 Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Sat, 14 Oct 2023 06:53:51 -0400 Subject: [PATCH] chore: add CI (#6) --- .github/workflows/main.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..6d854b7 --- /dev/null +++ b/.github/workflows/main.yaml @@ -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