From 07ebf8fcf840a302ae8e1a910475a8e64b6564c9 Mon Sep 17 00:00:00 2001 From: serge Date: Wed, 8 Nov 2023 17:16:31 +0100 Subject: [PATCH] ci: add testing --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c5411b4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test +on: [pull_request] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16 + - uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false + - name: Install dependencies + run: pnpm install + - name: Linting + run: pnpm prettier:check && pnpm lint:check + - name: Build + run: pnpm build + - name: Test + run: pnpm test