From 91ad3a16b686550ffa937888ab20a8d1297eebb7 Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Tue, 1 Aug 2023 14:44:49 +0000 Subject: [PATCH] fix: ci job for main --- .github/workflows/main.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce934b8..9a7e1f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,21 +3,21 @@ name: Merge to Main on: push: branches: [ main ] +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + strategy: + matrix: + node: [ 18 ] -build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - strategy: - matrix: - node: [ 18 ] - - name: Node ${{ matrix.node }} sample - steps: - - uses: actions/checkout@v3 - - name: Run linting rules and tests - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run lint - - run: npm run test + name: Node ${{ matrix.node }} sample + steps: + - uses: actions/checkout@v3 + - name: Run linting rules and tests + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - run: npm ci + - run: npm run lint + - run: npm run test