Skip to content

Bump rollup from 2.79.1 to 2.79.2 in /frontend in the npm_and_yarn gr… #81

Bump rollup from 2.79.1 to 2.79.2 in /frontend in the npm_and_yarn gr…

Bump rollup from 2.79.1 to 2.79.2 in /frontend in the npm_and_yarn gr… #81

Workflow file for this run

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