Skip to content

Merge pull request #1338 from Shopify/update_to_latest_packages #980

Merge pull request #1338 from Shopify/update_to_latest_packages

Merge pull request #1338 from Shopify/update_to_latest_packages #980

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
defaults:
run:
working-directory: ./web
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Find any lock file
run: if test -f ../yarn.lock || test -f ../pnpm-lock.yaml || test -f ../package-lock.json; then echo "Please don't commit lock files" && exit 1; fi
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --ignore-engines
- name: Build FE for production test
working-directory: ./web/frontend
run: yarn install --ignore-engines && yarn build