Skip to content

Commit

Permalink
Merge pull request #2 from adamborowski/adding-ci-test-build
Browse files Browse the repository at this point in the history
chore: experimentally adding other gh actions
  • Loading branch information
adamborowski committed Jan 10, 2023
2 parents 2992b86 + 5473221 commit d7788fc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build The Application

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: npm ci, build
run: |
npm ci
npm run build --ci
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test The Application

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: npm ci, test
run: |
npm ci
npm test

0 comments on commit d7788fc

Please sign in to comment.