From ff56b9f0c8dc73303fc5ebe0f105a3dc7b9cf134 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Sat, 2 Jul 2022 12:00:24 -0600 Subject: [PATCH 1/2] update node version --- .github/workflows/mobile.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mobile.js.yml b/.github/workflows/mobile.js.yml index 6de42dc6..d954f08d 100644 --- a/.github/workflows/mobile.js.yml +++ b/.github/workflows/mobile.js.yml @@ -17,7 +17,7 @@ jobs: working-directory: ./mobile-ui strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [14.x, 16.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: From 2abcb253a55f07be5dd6bc6e1c593f1cb5de3154 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Sat, 2 Jul 2022 12:11:01 -0600 Subject: [PATCH 2/2] set directory change --- .github/workflows/mobile.js.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mobile.js.yml b/.github/workflows/mobile.js.yml index d954f08d..ed3a4edd 100644 --- a/.github/workflows/mobile.js.yml +++ b/.github/workflows/mobile.js.yml @@ -22,11 +22,13 @@ jobs: steps: - uses: actions/checkout@v3 + run: cd ./mobile-ui - 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 run build --if-present - - run: npm test + run: | + npm ci + npm run build --if-present + npm test