Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-picus-tink committed Aug 8, 2024
1 parent 07163f4 commit 1c42d2b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [push]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.7

- name: Install Node
uses: actions/setup-node@v4.0.3
with:
node-version: 20
cache: 'pnpm'

- name: Install deps
run: pnpm install

- name: Test
run: pnpm run test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "exit 0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1c42d2b

Please sign in to comment.