Skip to content

Commit

Permalink
Merge pull request #15 from ymrl/add_pull_request_test_and_lint
Browse files Browse the repository at this point in the history
👍 GitHub Actions でのPull Request時のtestとlintを追加
  • Loading branch information
ymrl authored Jan 15, 2024
2 parents c62fd59 + 08a59e0 commit 1c776ad
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pull_request_test_and_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pull Request Test and Lint

on:
pull_request:
branches:
- main

jobs:
test_and_lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'

- name: Install dependencies
run: npm ci

- run: npm run lint

- run: npm run test

0 comments on commit 1c776ad

Please sign in to comment.