From 6ce63b18c092058c62338e846c3b4338ca0bbc4f Mon Sep 17 00:00:00 2001 From: Joe Evans Date: Thu, 12 Oct 2023 20:56:42 -0700 Subject: [PATCH] Move template copy into separate command --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d80212b26..e92efe325 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 - - run: npm install - - run: | - cp src/js/config-template.js src/js/config.js - npm run build --if-present + - run: cp src/js/config-template.js src/js/config.js + - run: npm ci + - run: npm run build --if-present - run: npm test