From a0943d99b4b2096957b8885b69f0d0330ab7bf96 Mon Sep 17 00:00:00 2001 From: Conor McNamara Date: Tue, 7 Mar 2023 20:20:24 +0000 Subject: [PATCH] Update CI --- .github/workflows/integrate.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml index a5da5d9..2b899e6 100644 --- a/.github/workflows/integrate.yml +++ b/.github/workflows/integrate.yml @@ -8,12 +8,20 @@ jobs: test_pull_request: runs-on: ubuntu-latest steps: + - name: Checkout code - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 16 - - run: npm ci - - run: cd functions && npm ci - - run: npm run test - - run: cd .. - - run: npm run build \ No newline at end of file + + - name: Install dependencies + - run: | + npm ci + cd functions && npm ci + + - name: Run tests + run: npm run test + working-directory: ./functions + + - name: Build environment + run: npm run build \ No newline at end of file