Skip to content

Commit

Permalink
Merge pull request #63 from Akshayp02/update-workflow
Browse files Browse the repository at this point in the history
Update workflow Completed
  • Loading branch information
vaishnavi-3969 authored Oct 23, 2023
2 parents fc1e904 + aeacec3 commit 2939c45
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Test


on:

push:
branches: [ master ]
pull_request:
branches: [ master ]


jobs:
build_test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]


steps:

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm ci, build and test
run: |
npm ci
npm run build --if-present
npm test
33 changes: 33 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Test


on:

push:
branches: [ master ]
pull_request:
branches: [ master ]


jobs:
build_test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x,]


steps:

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm ci, build and test
run: |
npm install
npm run build --if-present
npm test

0 comments on commit 2939c45

Please sign in to comment.