Skip to content

Commit

Permalink
ci: github ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
hhow09 committed Jan 21, 2025
1 parent 6e004f8 commit c6ac16a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [ "master"]
paths-ignore:
- "README.md"
pull_request:
branches: [ "master" ]

jobs:
test-build:
name: 🎉 Test and Build
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: 📦 Install dependencies
run: npm ci
- name: Linter
run: npm run lint
- name: Test
run: npm test

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

0 comments on commit c6ac16a

Please sign in to comment.