From 66e9d2935f709f095fa08f7d931504098e4e0aad Mon Sep 17 00:00:00 2001 From: TimHi Date: Sun, 26 Nov 2023 14:32:58 +0100 Subject: [PATCH] adding vitest action --- .github/workflows/2023.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/2023.yml diff --git a/.github/workflows/2023.yml b/.github/workflows/2023.yml new file mode 100644 index 0000000..71f84b0 --- /dev/null +++ b/.github/workflows/2023.yml @@ -0,0 +1,27 @@ +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + - name: Execute Unit tests + working-directory: ./Typescript/2023 + - run: pnpm ci + - run: pnpm run test