Skip to content

Commit

Permalink
Merge pull request #62 from sahityagaurav4210/21-5-2024/61-add-pipelines
Browse files Browse the repository at this point in the history
21/5/2024 - feat: added ci pipelines into the project
  • Loading branch information
sahityagaurav4210 authored May 21, 2024
2 parents 87888df + 26d3ec1 commit 9e37896
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: book-junction-admin ci pipeline

on:
push:
branches: ['master']
pull_request:
branches: ['master']
types: ['opened', 'closed']

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Installing dependancies
run: npm install

0 comments on commit 9e37896

Please sign in to comment.