From e4f305efcb1312f5972f969c7ab996d70d60ec61 Mon Sep 17 00:00:00 2001 From: Miguel Ramos Date: Wed, 3 Jul 2024 10:40:30 +0100 Subject: [PATCH] feat: action CI to support pnpm --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46028d93..686226a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,21 @@ jobs: test: name: Test Suite runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20] steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2