diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml new file mode 100644 index 0000000..b6b992d --- /dev/null +++ b/.github/workflows/linting.yaml @@ -0,0 +1,18 @@ +name: Linting + +on: pull_request + +jobs: + prettier: + name: Prettier + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "lts/hydrogen" + + - run: npm ci + + - run: npm run lint:prettier:check diff --git a/infra/migrations/1755523095078_test-migration.js b/infra/migrations/1755523095078_test-migration.js index fbce4d4..ca088d9 100644 --- a/infra/migrations/1755523095078_test-migration.js +++ b/infra/migrations/1755523095078_test-migration.js @@ -2,6 +2,6 @@ exports.shorthands = undefined; -exports.up = pgm => {}; +exports.up = (pgm) => {}; -exports.down = pgm => {}; +exports.down = (pgm) => {};