Skip to content

Commit

Permalink
Merge pull request #9 from tuatmcc/feat/fix-ci
Browse files Browse the repository at this point in the history
ci: CIの修正
  • Loading branch information
shun-shobon authored Oct 6, 2024
2 parents 81ee6f6 + dd534c2 commit a6ef35c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 49 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4

- name: Setup | Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Setup | Install Dependencies
run: npm ci

- name: Run | Lint
run: npm run lint
49 changes: 0 additions & 49 deletions .github/workflows/ci.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.18.0

0 comments on commit a6ef35c

Please sign in to comment.