Skip to content

PR作成時にlintとtestをgithub actionで実行する #1

PR作成時にlintとtestをgithub actionで実行する

PR作成時にlintとtestをgithub actionで実行する #1

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- name: Install dependencies
run: npm install
- name: Run Lint
run: npm run lint