diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ca9c4d1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI/CD +on: + push: + branches: + - main + tags: + - '*' + pull_request: + branches: + - main +jobs: + cicd: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + run: | + npm ci + + - name: Run Tests + run: | + node --test tests/