Skip to content

Commit

Permalink
#10 PK: added roadmap.yml for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoshSingh committed Jan 31, 2024
1 parent a983915 commit 89ab511
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/roadmap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Roadmap Voting App CI

on:
push:
branches: [ main ]
paths:
- 'roadmap-voting-app/**'
pull_request:
branches: [ main ]
paths:
- 'roadmap-voting-app/**'

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

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'

- name: Install Dependencies
run: |
cd roadmap-voting-app
npm install
# - name: Lint
# run: |
# cd roadmap-voting-app
# npm run lint

# - name: Run Tests
# run: |
# cd roadmap-voting-app
# npm test

0 comments on commit 89ab511

Please sign in to comment.