diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index eb5ce78..97d238d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,19 +13,18 @@ jobs: test: runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 - strategy: - matrix: - node-version: [18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + - name: Use Node 18 + uses: actions/setup-node@v3 + with: + node-version: 18 - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm install -g pnpm - - run: pnpm i - - run: pnpm test + - name: Install Dependencies + run: npm install -g pnpm && pnpm install + + - name: Test + run: pnpm test