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 working-directory: ./mobile-ui
strategy: strategy:
matrix: 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/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
run: cd ./mobile-ui
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci run: |
- run: npm run build --if-present npm ci
- run: npm test npm run build --if-present
npm test