Add github actions #1
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: | |
workflow_dispatch: | |
# This action is triggered on any branch that opens a pull request. | |
push: | |
branches: | |
- "*" | |
# This action is not triggered when markdown files are modified. | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- "*" | |
# This action is not triggered when markdown files are modified. | |
paths-ignore: | |
- '**.md' | |
jobs: | |
dev: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Run the dev action ----------------------------------------------------- | |
- uses: actions/[email protected] | |
- name: Run development checks | |
uses: ./.github/actions/dev | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Run the dev action ----------------------------------------------------- | |
- uses: actions/[email protected] | |
- name: Run test checks | |
uses: ./.github/actions/test | |
prod: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Run the prod action ---------------------------------------------------- | |
- uses: actions/[email protected] | |
- name: Run production checks | |
uses: ./.github/actions/prod |