aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-07 18:21:57 +0100
committerGitHub <noreply@github.com>2022-03-07 18:21:57 +0100
commit9c5fd198c11a0e2b976c6a2802eff9c4fef836f6 (patch)
treef6396236461c1e60a943a57f2d8227b9c2b639bf /.github/workflows
parentccbca8b9cede972480dd1ef7a73db71a99be9609 (diff)
parentc665571c930d877316940eae53e7e79640411aae (diff)
Merge pull request #96 from caleb-mabry/move-iniparser
Move INI parser
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml (renamed from .github/workflows/nodejs.yml)17
-rw-r--r--.github/workflows/test.yml15
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