Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Fix: Print Report (#851) #592

Fix: Print Report (#851)

Fix: Print Report (#851) #592

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Container Registry and Docker Hub Regitry when a pushed into main branches
# This file was contributed by [email protected] from ERP Consultores y Asociados, C.A
name: Continuous Integration
on:
# Triggers the workflow on push events but only for the develop branch
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
paths-ignore:
- README.md
- README.es.md
pull_request:
paths-ignore:
- README.md
- README.es.md
jobs:
# Publish docker image in Github Container Registry to application
# Build dist application adv-default-theme
build-app:
name: Build dist adv-default-theme
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Node configuration
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: 'yarn'
- name: Enable https to install packages
run: git config --global url."https://".insteadOf git://
- name: Install packages
run: yarn ci
- name: Run Linter
run: yarn lint
- name: Compress files for application dist
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: 'adv-default-theme.zip'
path: './'
exclusions: './dist ./docker ./docs'
- name: Upload app as artifact
uses: actions/upload-artifact@v3
with:
name: adv-default-theme
path: ./adv-default-theme.zip