Skip to content

Commit

Permalink
feat(ci): validate job
Browse files Browse the repository at this point in the history
ensure that we run `make validate`
in our continuous integration,
so that any deviation from our
standards is automatically caught
  • Loading branch information
mxdvl committed Apr 25, 2024
1 parent de581c3 commit f015d97
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f015d97

Please sign in to comment.