aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-02-01 23:08:38 +0100
committerGitHub <noreply@github.com>2023-02-01 23:08:38 +0100
commit3e2b183f3700fd4afcc87341fc64fed2518858f1 (patch)
treeb8ddb91b38164a1894e1f725f694995d1625360b /.github/workflows
parentf8ea065b5e6bccbebb918293e13cab4adb536b70 (diff)
parent1a16ec09d57d32500c629c4a6df7f841e5c951c4 (diff)
Merge pull request #183 from caleb-mabry/fix-pipeline
Fix Test on Pipeline
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml10
-rw-r--r--.github/workflows/test.yml11
2 files changed, 18 insertions, 3 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index eaf50c1..36f2cb8 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,7 +1,13 @@
name: Deploy CI
-on: [push, pull_request]
-
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
jobs:
build:
runs-on: ubuntu-latest
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index aa38050..2c7a2c5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,6 +1,13 @@
name: Test CI
-on: [push]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
jobs:
test:
runs-on: ubuntu-latest
@@ -9,6 +16,8 @@ jobs:
uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@v1
+ with:
+ node-version: 14
- name: Install Dependencies
run: npm install
- name: Run Tests