Skip to content

Commit

Permalink
Add push and pull-request workflow files to .github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
23nosurrend committed May 1, 2024
1 parent 6b6e479 commit 045f6ba
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 35 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull Request Trigger Workflow

on:
pull_request:
branches:
- develop

jobs:
build-and-test:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '>=18'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test -- --ci

19 changes: 19 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Push Trigger Workflow

on:
push:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '>=18'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test -- --ci
35 changes: 0 additions & 35 deletions .github/workflows/update.yml

This file was deleted.

0 comments on commit 045f6ba

Please sign in to comment.