From b14c59f54e86c40f353b9f37121da2ceb254415d Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 8 Sep 2024 18:15:28 +0100 Subject: [PATCH] ci: add build workflow --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..9d4e30c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build-sass: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "lts/*" + cache: "npm" + + - name: Build + run: | + npm ci + npm run build