-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
2,664 additions
and
2,271 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 |
---|---|---|
|
@@ -2,11 +2,10 @@ name: Shared - Continuous Integration for common tasks | |
|
||
on: | ||
workflow_call: | ||
|
||
|
||
jobs: | ||
checks: | ||
runs-on: "ubuntu-latest" | ||
runs-on: 'ubuntu-latest' | ||
name: Run checks | ||
steps: | ||
- uses: escemi-tech/[email protected] | ||
|
@@ -17,5 +16,5 @@ jobs: | |
uses: treosh/[email protected] | ||
with: | ||
# no urls needed, since it uses local folder to scan .html files | ||
configPath: ".github/lighthouserc.json" | ||
temporaryPublicStorage: true | ||
configPath: '.github/lighthouserc.json' | ||
temporaryPublicStorage: true |
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 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 |
---|---|---|
|
@@ -3,48 +3,52 @@ name: π Release | |
on: | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# ci: | ||
# name: Continuous Integration | ||
# uses: ./.github/workflows/__shared-ci.yml | ||
ci: | ||
name: Continuous Integration | ||
uses: ./.github/workflows/__shared-ci.yml | ||
|
||
release: | ||
# needs: ci | ||
runs-on: "ubuntu-latest" | ||
needs: ci | ||
runs-on: 'ubuntu-latest' | ||
permissions: | ||
pages: write # to deploy to Pages | ||
pages: write # to deploy to Pages | ||
id-token: write | ||
# environment: | ||
# name: github-pages | ||
# url: ${{ steps.deployment.outputs.page_url }} | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
# - name: ποΈ Build | ||
# uses: escemi-tech/[email protected] | ||
# - uses: actions/upload-pages-artifact@v1 | ||
# with: | ||
# path: ./public | ||
- name: ποΈ Build | ||
uses: escemi-tech/[email protected] | ||
- uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: ./public | ||
|
||
# - name: π Deploy to GitHub Pages | ||
# id: deployment | ||
# uses: actions/deploy-pages@v1 | ||
- name: π Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
|
||
# - name: π Check the site is up | ||
# uses: jtalk/url-health-check-action@v2 | ||
# with: | ||
# url: ${{ steps.deployment.outputs.page_url }} | ||
- name: π Check the site is up | ||
uses: jtalk/url-health-check-action@v2 | ||
with: | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: π¦ Audit URLs using Lighthouse | ||
id: lighthouse-ci-audit | ||
uses: treosh/[email protected] | ||
with: | ||
# urls: ${{ steps.deployment.outputs.page_url }} | ||
urls: https://hoverkraft.cloud | ||
urls: ${{ steps.deployment.outputs.page_url }} | ||
temporaryPublicStorage: true | ||
|
||
- uses: ./.github/actions/lighthouse-ci-badge | ||
with: | ||
links: ${{ steps.lighthouse-ci-audit.outputs.links }} | ||
manifest: ${{ steps.lighthouse-ci-audit.outputs.manifest }} | ||
manifest: ${{ steps.lighthouse-ci-audit.outputs.manifest }} |
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
Oops, something went wrong.