Skip to content

Use actions/checkout@v4 instead of v3 in workflows #91

Use actions/checkout@v4 instead of v3 in workflows

Use actions/checkout@v4 instead of v3 in workflows #91

Workflow file for this run

name: Build & Deploy ZIP 📦
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: "npm"
- name: Install dependencies 🔧
run: npm ci
- name: Build and create ZIP 🏭
run: |
npm run build
mv dist evento-portal
mkdir dist
mv evento-portal dist
cd dist && zip --recurse-paths evento-portal.zip *
rm -rf evento-portal
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist