Merge pull request #7 from DeimosPr4/fix-mobile-gh-actions

fix mobile-ui CI again...
This commit is contained in:
Maria Sánchez 2022-07-02 12:20:19 -06:00 committed by GitHub
commit 05ec2e4b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -17,16 +17,18 @@ 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:
- 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