Skip to content

Merge branch 'dev' of https://github.com/FernandoCZanchetta/SEL0373 i… #11

Merge branch 'dev' of https://github.com/FernandoCZanchetta/SEL0373 i…

Merge branch 'dev' of https://github.com/FernandoCZanchetta/SEL0373 i… #11

Workflow file for this run

name: Devlopment Environment CI/CD
on:
push:
branches:
- dev
jobs:
lint_dev:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
deploy_dev:
runs-on: ubuntu-latest
needs: lint_dev
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: 🔨 Build Project
run: |
npm ci
npm run build
- name: 📂 Sync files
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/SEL0373
enable_jekyll: true