diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 31dafdf9..4c163391 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -20,14 +20,14 @@ jobs: # Job steps steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup node version - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Setup pnpm uses: pnpm/action-setup@v4 @@ -42,7 +42,7 @@ jobs: # 👇 Adds Chromatic as a step in the workflow - name: Publish to Chromatic - uses: chromaui/action@v1 + uses: chromaui/action@latest # Chromatic GitHub Action options with: # 👇 Chromatic projectToken, refer to the manage page to obtain it. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cf5cd9f..2ac277c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,11 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [18] + node: [20] steps: - name: Checkout 🛎 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v4 @@ -21,12 +21,12 @@ jobs: version: 9.1.2 - name: Setup node env 🏗 - uses: actions/setup-node@v3.6.0 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - name: Cache ~/.pnpm-store 📦 - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-pnpm-store with: