diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml new file mode 100644 index 0000000..3bc9310 --- /dev/null +++ b/.github/workflows/build_test.yml @@ -0,0 +1,24 @@ +name: CI +on: + pull_request: + push: + branches: + - main + +jobs: + build-and-test: + name: build-and-test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + version: 8.5.1 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - name: Install dependencies + run: npm install + - name: Run build & test + run: npm run build && npm test +