build(web): upgrade to next 14 #73
Workflow file for this run
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: Verify Web | |
on: | |
push: | |
branches: | |
- main | |
- development | |
paths: | |
- web/** | |
pull_request: | |
branches: | |
- main | |
- development | |
paths: | |
- web/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CMS_API: ${{ vars.CMS_API }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install web dependencies | |
run: cd web && npm ci | |
- name: Lint web | |
run: cd web && npm run lint | |
- name: Build web | |
run: cd web && npm run build |