Skip to content

引用文に著者を追加 #146

引用文に著者を追加

引用文に著者を追加 #146

name: Pull Request Test
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Cache dependencies
uses: actions/cache@v3
id: node_modules_cache_id
with:
path: |
${{ github.workspace }}/node_modules
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci
- name: Run code lint
run: npm run lint
- name: Run code tests
run: npm run test