maintain(deps-dev): bump eslint-plugin-jest from 27.2.2 to 28.9.0 in /ui #1566
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: ci / ui | |
on: | |
pull_request: | |
paths: | |
- 'ui/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'ui/**' | |
defaults: | |
run: | |
working-directory: ui | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
cache-dependency-path: ui/package-lock.json | |
- uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Format | |
run: npm run format | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
cache-dependency-path: ui/package-lock.json | |
- uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Dependencies | |
run: npm install | |
- name: Test | |
run: npm test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
cache-dependency-path: ui/package-lock.json | |
- uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Export | |
run: npm run export |