Skip to content

Commit

Permalink
Merge pull request #205 from GauravWalia19/dev
Browse files Browse the repository at this point in the history
updated the CI job
  • Loading branch information
GauravWalia19 authored Feb 25, 2024
2 parents 7cdb5fe + 329bd78 commit 8af3066
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/Free Algorithm Books Website CI.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
name: Free Algorithm Books Website CI

on:
push:
branches:
- master
pull_request:
branches:
- master
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- run: yarn run ci
- run: yarn run test
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}


test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: yarn run ci
- run: yarn run test
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}

0 comments on commit 8af3066

Please sign in to comment.