Merge pull request #129 from PrestaShop/dependabot/npm_and_yarn/brows… #131
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: Check Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Setup node env 🏗 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.21 | |
cache: 'npm' | |
- name: Install dependencies 💚 | |
run: npm install | |
- name: Build project | |
run: npm run build | |
- name: Generate project | |
run: npm run generate |