From 720ec14709fc03162c6deb78dcf460a7db4b1a84 Mon Sep 17 00:00:00 2001 From: "Mazzella, Jesse D. (ARC-TI)[KBR Wyle Services, LLC]" Date: Thu, 22 Jun 2023 11:19:11 -0700 Subject: [PATCH 1/2] fix: run `npm install` before `build:example` --- .github/workflows/yamcs-quickstart-e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamcs-quickstart-e2e.yml b/.github/workflows/yamcs-quickstart-e2e.yml index a9bca8f2..e106b9cb 100644 --- a/.github/workflows/yamcs-quickstart-e2e.yml +++ b/.github/workflows/yamcs-quickstart-e2e.yml @@ -46,6 +46,7 @@ jobs: cd quickstart/docker touch makeout.txt make all &> makeout.txt & + - run: npm install - name: Run build:example based on openmct-version run: | if [ "${{ matrix.openmct-version }}" = "latest" ]; then @@ -53,7 +54,6 @@ jobs: elif [ "${{ matrix.openmct-version }}" = "stable" ]; then npm run build:example fi - - run: npm install - run: npx playwright@1.32.3 install chromium - name: Get Open MCT e2e tests uses: nick-fields/retry@v2 From c91d590a0efc956b98655fd62fc44e7151bd4e13 Mon Sep 17 00:00:00 2001 From: "Mazzella, Jesse D. (ARC-TI)[KBR Wyle Services, LLC]" Date: Thu, 22 Jun 2023 11:45:13 -0700 Subject: [PATCH 2/2] fix: run `npm install` before `build:example` --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 58602f09..f93b48c3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -23,6 +23,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm install - name: Run build:example based on openmct-version run: | if [ "${{ matrix.openmct-version }}" = "latest" ]; then @@ -30,4 +31,3 @@ jobs: elif [ "${{ matrix.openmct-version }}" = "stable" ]; then npm run build:example fi - - run: npm install