Update dependency esbuild to v0.24.0 #1921
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install & prepare | |
on: [push, pull_request] | |
jobs: | |
InstallPrepare: | |
name: Install & prepare | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
node_version: [18, 20.5.1] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
with: | |
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
fetch-depth: 0 | |
- name: Use Node ${{matrix.node_version}} | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node_version }} | |
- uses: oven-sh/setup-bun@v1 | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-pnpm-modules | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('./pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.node_version }}- | |
- name: install pnpm | |
run: npm i pnpm@latest -g | |
- name: Install Dependencies & prepare | |
run: pnpm i | |
- name: Test | |
run: pnpm test |