From 1c42d2b5d5171e2afe36fc4959439f37876d0b04 Mon Sep 17 00:00:00 2001 From: andrei-picus-tink Date: Thu, 8 Aug 2024 09:55:59 +0200 Subject: [PATCH] Add CI workflow --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yaml 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",