name: pnpm Example Workflow on: push: jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [current] steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Install dependencies run: pnpm install - name: Build run: pnpm build