Skip to content

Commit

Permalink
feat: tests init
Browse files Browse the repository at this point in the history
  • Loading branch information
0t4u committed Nov 4, 2024
1 parent 8cfc1f2 commit aa761e8
Show file tree
Hide file tree
Showing 19 changed files with 2,495 additions and 57 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/code-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Code Test

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"

jobs:
compile:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/*, latest]

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: package-lock.json
- run: npm i
- run: npm run test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.DS_Store
node_modules/
dist/
coverage/
pnpm-lock.yaml
yarn.lock
yarn-debug.log*
Expand Down
Loading

0 comments on commit aa761e8

Please sign in to comment.