From 608e78c7a5742a4b2fa5ca7d1c149b6d2164e0dc Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 5 May 2024 21:47:35 +0200 Subject: [PATCH] feat: build workflow, ensures code (still) compiles --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..364b5f51 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build +on: + push: {} + pull_request: {} +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v4.1.2 + - name: Setup Node.js environment + uses: actions/setup-node@v4.0.2 + with: + node-version: "20.x" + - run: npm ci + - run: npm run build