Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

⬆️ Bump next from 13.2.3 to 14.2.15 in /examples/nextjs #953

⬆️ Bump next from 13.2.3 to 14.2.15 in /examples/nextjs

⬆️ Bump next from 13.2.3 to 14.2.15 in /examples/nextjs #953

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: 'Validate with Node v${{ matrix.node-version }}'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16.20.1']
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Free up space on GitHub image
run: |
# Based on the official advice:
# https://github.com/actions/virtual-environments/issues/2840#issuecomment-790492173
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Setup Node with v${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Restore cache
uses: actions/cache@v3
with:
path: |
**/.eslintcache
**/.turbo
node_modules/.cache/turbo
polaris.shopify.com/.next/cache
key: ${{ runner.os }}-node${{ matrix.node-version }}-test-v1-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node${{ matrix.node-version }}-test-v1-
- name: Install dependencies
run: yarn install
- name: Build packages
run: yarn build:packages
- name: Lint
run: yarn lint
- name: Type check
run: yarn typecheck
- name: Test
run: yarn test