diff options
| author | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-07 12:43:33 -0500 |
|---|---|---|
| committer | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-07 12:43:33 -0500 |
| commit | 4bd674c196c0e06b460dffee440c5d2a48061bcc (patch) | |
| tree | 2338cf231c8535280c283d8d08d91f4fa4018912 /.github | |
| parent | 01a7239f8b18710ce1871c502fd8d10a782efcaf (diff) | |
| parent | 9c5fd198c11a0e2b976c6a2802eff9c4fef836f6 (diff) | |
Merge branch 'master' of https://github.com/AttorneyOnline/webAO into refactor-constants
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/deploy.yml (renamed from .github/workflows/nodejs.yml) | 17 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 15 |
2 files changed, 21 insertions, 11 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/deploy.yml index b37178b..d1bbeaa 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/deploy.yml @@ -1,26 +1,21 @@ -name: Node CI +name: Deploy CI on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v1 - name: Setup Node uses: actions/setup-node@v1 - - name: npm install, build, and test - run: | - git submodule init - git submodule update - npm install - npm ci - npm run build + - name: Install Dependencies + run: npm install + - name: Build Project + run: npm build - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.0.0 with: branch: gh-pages # The branch the action should deploy to. - folder: webAO # The folder the action should deploy. + folder: webAO # The folder the action should deploy.
\ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d5f9f79 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,15 @@ +name: Test CI + +on: [pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Setup Node + uses: actions/setup-node@v1 + - name: Install Dependencies + run: npm install + - name: Run Tests + run: npm test
\ No newline at end of file |
