This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
chore: add contributor guide #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run grit patterns test | |
env: | |
GRIT_TELEMETRY_DISABLED: "true" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
matrix: | |
runner: [nscloud-ubuntu-22.04-amd64-4x16] | |
node-version: [16.16, 18.x, 20.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 prettier | |
run: | | |
curl -L https://github.com/prettier/prettier/releases/download/3.0.1/prettier -o prettier | |
chmod +x prettier | |
sudo mv prettier /usr/local/bin | |
- 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 |