From a1bb006ff7ed7cfa9520dfa313a8bbb8e4811cfa Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 19 Oct 2024 12:22:57 +0200 Subject: [PATCH] Add build action --- .forgejo/workflows/build.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..0a5333e --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,22 @@ +on: [push] +jobs: + test: + runs-on: container + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + version: 9 + run_install: false + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - run: ng build