From f015d97a80f500ba9be35f29ba30ff8d18a5c8a9 Mon Sep 17 00:00:00 2001 From: Max Duval Date: Thu, 25 Apr 2024 09:52:08 +0100 Subject: [PATCH] feat(ci): validate job ensure that we run `make validate` in our continuous integration, so that any deviation from our standards is automatically caught --- .github/workflows/validate.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 00000000000..a73f2703292 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,19 @@ +name: Validate +on: [push] + +permissions: + contents: read # to fetch code (actions/checkout) + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - run: corepack enable + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: yarn + + - run: make validate