-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from skunkworksza/main
- Loading branch information
Showing
1,612 changed files
with
46,513 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
cache |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "bundler" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "bundler" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history for accurate build | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm install | ||
working-directory: ./backend | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
|
||
- name: Install Jekyll dependencies | ||
run: bundle install | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Build with Jekyll | ||
run: bundle exec jekyll build | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: actions/deploy-pages@v4 |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Deploy Skunkworks Contact Form | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.jscode | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
working-directory: ./backend | ||
|
||
- name: Deploy to Heroku | ||
env: | ||
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | ||
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }} | ||
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }} | ||
run: | | ||
echo "machine api.heroku.com" >> ~/.netrc | ||
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc | ||
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc | ||
echo "machine git.heroku.com" >> ~/.netrc | ||
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc | ||
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc | ||
git remote add heroku https://git.heroku.com/${{ env.HEROKU_APP_NAME }}.git | ||
git push heroku main | ||
working-directory: ./backend |
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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Deploy to GitHub Pages | ||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history for accurate build | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
working-directory: ./backend | ||
run: | | ||
if [ -f package-lock.json ]; then | ||
npm ci | ||
else | ||
npm install | ||
fi | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
|
||
- name: Retry Install dependencies if it fails | ||
if: failure() # Check if previous step failed | ||
working-directory: ./backend | ||
run: | | ||
if [ -f package-lock.json ]; then | ||
npm ci | ||
else | ||
npm install | ||
fi | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
|
||
- name: Install Jekyll dependencies | ||
run: | | ||
bundle install | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
|
||
- name: Retry Install Jekyll dependencies if it fails | ||
if: failure() # Check if previous step failed | ||
run: | | ||
bundle install | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Build with Jekyll | ||
run: | | ||
bundle exec jekyll build | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
|
||
- name: Retry Build with Jekyll if it fails | ||
if: failure() # Check if previous step failed | ||
run: | | ||
bundle exec jekyll build | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history for accurate build | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '16.x' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm install | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
- name: Retry Install dependencies if it fails | ||
if: failure() # Check if previous step failed | ||
run: | | ||
npm install | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
|
||
- name: Install Jekyll dependencies | ||
run: | | ||
bundle install | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
- name: Retry Install Jekyll dependencies if it fails | ||
if: failure() # Check if previous step failed | ||
run: | | ||
bundle install | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Build with Jekyll | ||
run: | | ||
bundle exec jekyll build | ||
continue-on-error: true # Allow the step to continue even if it fails | ||
- name: Retry Build with Jekyll if it fails | ||
if: failure() # Check if previous step failed | ||
run: | | ||
bundle exec jekyll build | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Site Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Run linting for JS and CSS | ||
run: | | ||
npm run lint:js | ||
npm run lint:css | ||
- name: Run tests | ||
run: npm test | ||
|
||
- name: Run Storybook tests | ||
run: npm run chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
|
||
- name: Build project | ||
run: npm run build | ||
|
||
- name: Validate HTML | ||
run: npx html-validator-cli --file dist/**/*.html --format=text | ||
|
||
- name: Validate CSS | ||
run: npx stylelint "dist/**/*.css" | ||
|
||
- name: Validate JS | ||
run: npx eslint "dist/**/*.js" | ||
|
||
- name: Verify images | ||
run: python ./verify_images.py | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build-and-test | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist |
Oops, something went wrong.