Skip to content

build(deps-dev): bump @vitejs/plugin-react from 4.0.4 to 4.1.1 #475

build(deps-dev): bump @vitejs/plugin-react from 4.0.4 to 4.1.1

build(deps-dev): bump @vitejs/plugin-react from 4.0.4 to 4.1.1 #475

Workflow file for this run

name: Testing
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install modules
run: yarn install --frozen-lockfile
- name: Run lint
run: |
yarn script_lint
yarn style_lint
yarn markup_lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install modules
run: yarn install --frozen-lockfile
- name: Check TypeScript code
run: yarn check_ts
- name: Run testing
run: yarn test