From 5e9c782f61cb22eb18a6c6980c41152e74afe185 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Sat, 27 Apr 2024 17:46:27 +0200 Subject: [PATCH] update ci --- .github/workflows/tests.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..208b55c --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,37 @@ +name: Build and Test + +on: [ push ] + +jobs: + release: + runs-on: ubuntu-20.04 + strategy: + matrix: + node-version: [ 15 ] + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v3 + with: + version: 8 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - uses: pnpm/action-setup@v2.2.2 + + - name: Setup Node.js environment ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: pnpm + + - name: Install dependencies + run: pnpm install + + # - name: Run Build and Tests + # run: pnpm run build-test + + env: + CI: true