diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..1738eaa --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/package.json b/package.json index 726b5e0..1c0603d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "exit 0" }, "repository": { "type": "git",