This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
Rework blogs, style fixes, dependencies updated #39
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: CI | |
on: | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/fedora/fedora:latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Install NPM | |
run: | | |
dnf install -y nodejs npm | |
- name: Install PIP | |
run: | | |
dnf install -y python3-pip | |
- name: Install Git | |
run: | | |
dnf install -y git | |
- name: Install required dependencies | |
run: | | |
pip3 install -r requirements.txt | |
npm ci | |
- name: Run the build | |
run: | | |
export PATH=$PATH:node_modules/.bin/ | |
./build.sh |