Skip to content

Commit

Permalink
Merge pull request #92 from cse110-sp23-group20/ci/cd-changes
Browse files Browse the repository at this point in the history
Ci/cd changes
  • Loading branch information
ohuynh21 authored Jun 12, 2023
2 parents 6892cef + b263a82 commit daa9025
Show file tree
Hide file tree
Showing 18 changed files with 12,728 additions and 1,600 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/lint.yml

This file was deleted.

26 changes: 22 additions & 4 deletions .github/workflows/jsdocs.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
name: Generate JSDOCS
run-name: Action by @${{ github.actor }}
name: Lint, Check Format, and Generate JSDocs
on:
push:
branches:
- main

permissions:
contents: write

jobs:
lint_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Run ESLint
run: npm run lint

format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Check if Prettier could format code
run: npx prettier --check --no-config .

jsdocs:
runs-on: ubuntu-latest
steps:
Expand All @@ -15,6 +32,7 @@ jobs:
- name: Build JSDOCS
uses: andstor/jsdoc-action@v1
with:
source_dir: ./source
recurse: true
output_dir: ./JSDOCs
config_file: .jsdoc.conf.json
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/node.js.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Post Pages Deployment Testing
on:
workflow_run:
workflows:
- "pages-build-deployment"
types:
- completed

jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: npm install && npm test
2 changes: 1 addition & 1 deletion JSDOCs/FortuneCookie_fortuneCookie.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/FortuneCookie_fortunes.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/PalmReading_script.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/PalmReading_webcam.js.html

Large diffs are not rendered by default.

3,655 changes: 3,561 additions & 94 deletions JSDOCs/Wheel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/Zodiac_compatibility_data_dataArray.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/Zodiac_compatibility_script.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/Zodiac_compatibility_zodiac-angles.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/common_index.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/common_nav.js.html

Large diffs are not rendered by default.

10,296 changes: 8,836 additions & 1,460 deletions JSDOCs/global.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/home-page_script.js.html

Large diffs are not rendered by default.

284 changes: 283 additions & 1 deletion JSDOCs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion JSDOCs/utils.js.html

Large diffs are not rendered by default.

0 comments on commit daa9025

Please sign in to comment.