Skip to content

Commit

Permalink
とりあえずbuildチェックはいれた
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugma committed Jun 29, 2024
1 parent f1ce081 commit 3c49b63
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI (main)

on:
pull_request:
branches:
- 'main'

jobs:
package:
name: node package install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
build:
name: type and build check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run build

0 comments on commit 3c49b63

Please sign in to comment.