Skip to content

Commit

Permalink
Merge pull request #38 from authts/update-ci
Browse files Browse the repository at this point in the history
update and rename ci
  • Loading branch information
pamapa authored Apr 22, 2024
2 parents 3622342 + ec1c813 commit a3166dc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/pull_request.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build
on: [pull_request]
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
build:
Expand All @@ -10,17 +14,17 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
env:
CI: true

- name: Cache incremental builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
.eslintcache
Expand Down

0 comments on commit a3166dc

Please sign in to comment.