Skip to content

Commit

Permalink
Merge pull request #103 from opensql-org/dev
Browse files Browse the repository at this point in the history
Updated github action files
  • Loading branch information
aliazmoodehvaldi authored May 31, 2024
2 parents 6d93a35 + c7eab1d commit 1715825
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Development-Stage

on:
pull_request:
branches:
- dev

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

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: CI/CD
name: Production-Stage

on:
pull_request:
branches:
- dev
- main

jobs:
build-and-test:
publish:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 1715825

Please sign in to comment.