Skip to content

move terraform subdir #33

move terraform subdir

move terraform subdir #33

Workflow file for this run

name: Run grit patterns test
env:
<<<<<<< HEAD

Check failure on line 4 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
GRIT_TELEMETRY_DISABLED: 'true'
=======
GRIT_TELEMETRY_DISABLED: "true"
>>>>>>> hcl/main
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
runner: [nscloud-ubuntu-22.04-amd64-4x16, macos-latest, ubuntu-latest]
node-version: [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: setup auth
run: ./ops/set_access_token.sh
env:
API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}
API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}
- 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-ruff
run: |
pip install ruff
- name: Install @getgrit/launcher
run: npm install -g @getgrit/launcher
- name: Run doctor
run: npx grit doctor
- name: Remove grit modules
run: rm -rf .grit/.gritmodules
- name: Run grit patterns test
run: npx grit patterns test