diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..72b7faa --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + tags-ignore: + - '**' + branches: + - '**' + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Build with NPM + run: npm run build + - name: Test ESLint + run: npm run lint + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: build-artifacts + path: | + build/