diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7162f5e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + env: + node_version: 20.16.x + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup Node ${{ env.node_version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ env.node_version }} + + - name: Install + run: npm ci + + - name: Build + run: npm run build + + - name: Test + run: npm test \ No newline at end of file