Skip to content

Commit

Permalink
try out github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SEAPUNK committed Apr 7, 2024
1 parent 54299cc commit 3085226
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests
on: [push, pull_request]
jobs:
tsc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Setup pnpm
uses: pnpm/action-setup@v3

- name: test:style
run: pnpm run test:style

- name: test:lint
run: pnpm run test:lint

- name: test:types
run: pnpm run test:types

- name: test:jest
run: pnpm run test:jest

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 3085226

Please sign in to comment.