From a3ec4e3e735826e3c226ec56a1ac2d634d1acb9e Mon Sep 17 00:00:00 2001 From: abhishandy Date: Mon, 11 Mar 2024 17:34:40 -0400 Subject: [PATCH] cI: fix workflow --- .github/workflows/test.js.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.js.yml b/.github/workflows/test.js.yml index 9dfd2e8..451f47a 100644 --- a/.github/workflows/test.js.yml +++ b/.github/workflows/test.js.yml @@ -5,13 +5,12 @@ name: Test on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: - runs-on: ubuntu-latest strategy: @@ -20,10 +19,11 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm test + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm ci + - run: npm test