This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
Fix: Default State Issues #594
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
# 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 |