Skip to content

Release develop to main 2024-08-10 #6

Release develop to main 2024-08-10

Release develop to main 2024-08-10 #6

Workflow file for this run

name: CI
on:
pull_request:
branches: [main, develop]
env:
node-version: 20.5.0
cache-name: cache-node-modules
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup-node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: cache-node-modules
uses: actions/cache@v3
id: node_modules_cache_id
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Deps
if: ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }}
run: yarn install
- name: Lint
run: yarn lint
- name: Test
run: yarn test:vitest