diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml new file mode 100644 index 0000000..520ffab --- /dev/null +++ b/.github/workflows/Ci.yml @@ -0,0 +1,24 @@ +name: Continuous Integration + +on: + push: + branches: + - master + +jobs: + build: + name: Code tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 20 + cache: npm + + - name: 📦 Install dependencies + run: npm ci + + - name: 🧪 Run all tests + run: npm run test