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