From 4b55dd0bc8fc683c3586e4f88f6cf950602ac262 Mon Sep 17 00:00:00 2001 From: Kris Urbas <605420+krzysu@users.noreply.github.com> Date: Thu, 8 Dec 2022 21:05:18 +1100 Subject: [PATCH] add workflow to run ci scripts (#8) --- .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..f0d87540f8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: "CI actions: Build, Lint and Test" + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "18.x" + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.4 + + - run: pnpm install + - run: pnpm build + - run: pnpm lint + - run: pnpm test