-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing some stuff with the pipeline
- Loading branch information
1 parent
ce55b57
commit 8dbcd1a
Showing
5 changed files
with
111 additions
and
112 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Build Demo App | ||
run-name: Build Demo App On Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: 💾 Checking out the repository | ||
uses: actions/checkout@v4 | ||
- name: ⚙️ Setting up the MonkJs project | ||
uses: ./.github/actions/monkjs-set-up | ||
with: | ||
build-env: production | ||
- name: 📱 Building the demo app | ||
run: cd apps/demo-app && yarn build:staging | ||
#name: Build Demo App | ||
#run-name: Build Demo App On Pull Request | ||
# | ||
#on: | ||
# pull_request: | ||
# branches: [main] | ||
# | ||
#jobs: | ||
# build: | ||
# name: Build | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# actions: read | ||
# contents: read | ||
# security-events: write | ||
# | ||
# steps: | ||
# - name: 💾 Checking out the repository | ||
# uses: actions/checkout@v4 | ||
# - name: ⚙️ Setting up the MonkJs project | ||
# uses: ./.github/actions/monkjs-set-up | ||
# with: | ||
# build-env: production | ||
# - name: 📱 Building the demo app | ||
# run: cd apps/demo-app && yarn build:staging |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Build Documentation | ||
run-name: Build Documentation On Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: 💾 Checking out the repository | ||
uses: actions/checkout@v4 | ||
- name: ⚙️ Setting up the MonkJs project | ||
uses: ./.github/actions/monkjs-set-up | ||
with: | ||
build-env: production | ||
- name: 📚 Building the documentation | ||
run: yarn build:documentation | ||
#name: Build Documentation | ||
#run-name: Build Documentation On Pull Request | ||
# | ||
#on: | ||
# pull_request: | ||
# branches: [main] | ||
# | ||
#jobs: | ||
# build: | ||
# name: Build | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# actions: read | ||
# contents: read | ||
# security-events: write | ||
# | ||
# steps: | ||
# - name: 💾 Checking out the repository | ||
# uses: actions/checkout@v4 | ||
# - name: ⚙️ Setting up the MonkJs project | ||
# uses: ./.github/actions/monkjs-set-up | ||
# with: | ||
# build-env: production | ||
# - name: 📚 Building the documentation | ||
# run: yarn build:documentation |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Code Quality | ||
run-name: Analyze Code Quality On Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
checks: | ||
name: Run Checks | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: 💾 Checking out the repository | ||
uses: actions/checkout@v4 | ||
- name: ⚙️ Setting up the MonkJs project | ||
uses: ./.github/actions/monkjs-set-up | ||
- name: 📝 Checking code formatting | ||
run: yarn lint | ||
- name: 🧪 Running the tests | ||
run: yarn test:coverage | ||
#name: Code Quality | ||
#run-name: Analyze Code Quality On Pull Request | ||
# | ||
#on: | ||
# pull_request: | ||
# branches: [main] | ||
# | ||
#jobs: | ||
# checks: | ||
# name: Run Checks | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# actions: read | ||
# contents: read | ||
# security-events: write | ||
# | ||
# steps: | ||
# - name: 💾 Checking out the repository | ||
# uses: actions/checkout@v4 | ||
# - name: ⚙️ Setting up the MonkJs project | ||
# uses: ./.github/actions/monkjs-set-up | ||
# - name: 📝 Checking code formatting | ||
# run: yarn lint | ||
# - name: 🧪 Running the tests | ||
# run: yarn test:coverage |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
name: Deploy Documentation | ||
run-name: Deploy Documentation To GitHub Pages After Merge | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build-deploy: | ||
name: Build & Deploy | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
id-token: write | ||
pages: write | ||
|
||
steps: | ||
- name: 💾 Checking out the repository | ||
uses: actions/checkout@v4 | ||
- name: ⚙️ Setting up the MonkJs project | ||
uses: ./.github/actions/monkjs-set-up | ||
with: | ||
build-env: production | ||
- name: 📚 Building the documentation | ||
run: yarn build:documentation | ||
- name: 📃 Setting Up GitHub Pages | ||
uses: actions/[email protected] | ||
- name: 📦 Uploading the artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: documentation/build | ||
- name: 🌐 Deploying the documentation | ||
uses: actions/[email protected] | ||
#name: Deploy Documentation | ||
#run-name: Deploy Documentation To GitHub Pages After Merge | ||
# | ||
#on: | ||
# push: | ||
# branches: [main] | ||
# | ||
#jobs: | ||
# build-deploy: | ||
# name: Build & Deploy | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# actions: read | ||
# contents: read | ||
# security-events: write | ||
# id-token: write | ||
# pages: write | ||
# | ||
# steps: | ||
# - name: 💾 Checking out the repository | ||
# uses: actions/checkout@v4 | ||
# - name: ⚙️ Setting up the MonkJs project | ||
# uses: ./.github/actions/monkjs-set-up | ||
# with: | ||
# build-env: production | ||
# - name: 📚 Building the documentation | ||
# run: yarn build:documentation | ||
# - name: 📃 Setting Up GitHub Pages | ||
# uses: actions/[email protected] | ||
# - name: 📦 Uploading the artifact | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: documentation/build | ||
# - name: 🌐 Deploying the documentation | ||
# uses: actions/[email protected] |
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