From 497c42272a507f7b16e3ed6ba0badf0085046987 Mon Sep 17 00:00:00 2001 From: Chris Shaw Date: Sun, 25 Feb 2024 00:17:31 +1100 Subject: [PATCH] ci: add build workflow --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..aa323d3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches-ignore: + - main + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3 + name: Install pnpm + with: + version: 8 + + - uses: actions/setup-node@v4 + name: Install Node.js + with: + node-version: 20 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Lint our source code + run: pnpm lint + + - name: Build + run: pnpm build