Skip to content

chore(deps): update linters #1572

chore(deps): update linters

chore(deps): update linters #1572

Workflow file for this run

name: Test codes
on:
pull_request:
branches:
- main
env:
workdir: client
node-version: lts/*
TZ: Asia/Tokyo
jobs:
front-filter:
runs-on: ubuntu-latest
permissions:
contents: 'read'
pull-requests: 'read'
outputs:
client: ${{ steps.changes.outputs.client }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check for file changes
uses: dorny/paths-filter@v2
id: changes
with:
token: ${{ github.token }}
filters: .github/filters.yml
run-test:
runs-on: ubuntu-latest
needs: front-filter
if: needs.front-filter.outputs.client == 'true'
defaults:
run:
working-directory: ${{ env.workdir }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{ env.node-version }}
- name: Install Dependencies
run: yarn install --immutable
- name: Run test
run: yarn run test
run-test-check:
if: ${{ ! failure() }}
needs: run-test
runs-on: ubuntu-latest
steps:
- run: echo "Test is successfully executed. "