chore(deps): replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 #2467
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ThemeBuilder tests | |
on: [push, pull_request] | |
jobs: | |
themebuilder-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
NODE: [ 18 ] | |
runs-on: ubuntu-latest | |
name: ThemeBuilder | |
timeout-minutes: 60 | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.NODE }} | |
- name: Restore npm cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: themebuilder-${{ runner.os }}-node-${{ matrix.NODE }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
themebuilder-${{ runner.os }}-node-${{ matrix.NODE }} | |
themebuilder-${{ runner.os }}-node- | |
- name: Run npm install | |
run: npm install --no-package-lock --no-audit --no-fund | |
- name: Run tests | |
run: npm run test-themebuilder |