From cca1322abd7d31a8671a1264d1b1130b6cc3df3e Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Sat, 13 Apr 2024 15:41:57 +0200 Subject: [PATCH] Add nsAction workflow Signed-off-by: Nick Slowinski --- .forgejo/workflows/build.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..2211a2f --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,20 @@ +name: Build website +on: + push: + branches: + - !'main' + - '*' +jobs: + build: + runs-on: docker + container: + image: registry.access.redhat.com/ubi9/nodejs-20:1-34 + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: npm install + + - name: Build site + run: npm run build \ No newline at end of file