From 94ccd65bb2f20011caf9ce06fe11908e6a5398d8 Mon Sep 17 00:00:00 2001 From: Chris Park Date: Fri, 19 Apr 2024 14:46:38 +0930 Subject: [PATCH] add lint and format checker to the pipeline --- .github/workflows/cdk-test.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cdk-test.yml b/.github/workflows/cdk-test.yml index aee1b79..0f428fe 100644 --- a/.github/workflows/cdk-test.yml +++ b/.github/workflows/cdk-test.yml @@ -6,13 +6,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - ref: ${{ github.event.release.target_commitish }} - - name: Use Node.js 18 - uses: actions/setup-node@v1 - with: - node-version: 18 - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run test --workspaces + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.release.target_commitish }} + - name: Use Node.js 18 + uses: actions/setup-node@v1 + with: + node-version: 18 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm run lint:check && npm run format:check + - run: npm run test --workspaces