Bump ws from 7.5.9 to 7.5.10 in /frontend in the npm_and_yarn group across 1 directory #65
Workflow file for this run
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 | |
on: | |
pull_request_target: | |
branches: ['main'] | |
push: | |
branches: ['main'] | |
paths-ignore: ['**/*.md'] | |
workflow_dispatch: | |
jobs: | |
jest: | |
name: '[FE] Test' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@main | |
with: | |
node-version: 20 | |
- name: Cache dependencies | |
id: cache-nodemodules | |
uses: actions/cache@main | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: frontend/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
- name: Install dependencies | |
if: steps.cache-nodemodules.outputs.cache-hit != 'true' | |
working-directory: frontend/ | |
run: yarn install --frozen-lockfile | |
- name: Test | |
working-directory: frontend/ | |
run: yarn test | |
lint: | |
name: '[FE] Lint' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@main | |
with: | |
node-version: 20 | |
- name: Cache dependencies | |
id: cache-nodemodules | |
uses: actions/cache@main | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: frontend/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
- name: Install dependencies | |
if: steps.cache-nodemodules.outputs.cache-hit != 'true' | |
working-directory: frontend/ | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
working-directory: frontend/ | |
run: yarn lint | |
react-build: | |
name: '[FE] Test Build' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@main | |
with: | |
node-version: 20 | |
- name: Cache dependencies | |
id: cache-nodemodules | |
uses: actions/cache@main | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: frontend/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('frontend/yarn.lock') }} | |
- name: Install dependencies | |
if: steps.cache-nodemodules.outputs.cache-hit != 'true' | |
working-directory: frontend/ | |
run: yarn install --frozen-lockfile | |
- name: Build | |
working-directory: frontend/ | |
run: yarn build | |
pytest: | |
name: '[BE] Test' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-python@main | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: '**/requirements.txt' | |
- run: pip install -r backend/requirements.txt | |
- name: Test | |
working-directory: backend/ | |
run: pytest |