From c960ad0486d5d211a9805519ce74128fa5f045f9 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Fri, 3 Mar 2023 18:19:42 +0100 Subject: [PATCH] test pipeline --- .github/workflows/test.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..406c7ac --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,27 @@ +name: Test + +on: + push: + pull_request: + +permissions: + contents: read + pages: write + id-token: write + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 7 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "pnpm" + + - run: pnpm install --frozen-lockfile + - run: pnpm run compile + - run: pnpm run test