Skip to content

Commit

Permalink
ci: CI を追加 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-chan authored Jan 2, 2024
1 parent 6435b6b commit 7f6966f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main
pull_request:

jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm install

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- uses: pnpm lint

0 comments on commit 7f6966f

Please sign in to comment.