Skip to content

Commit

Permalink
added pull ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrul committed Nov 25, 2023
1 parent 5dd9008 commit 76b5872
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/pull-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: requrse

on:
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

services:
mongodb:
image: mongo:latest
ports:
- 27017:27017

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- run: npm ci

- name: Set up dotenv
run: echo "REDIS_KEY=${{ secrets.REDIS_KEY }}" >> .env

- name: Test
run: npm run test:lcov

- name: Coveralls
uses: coverallsapp/github-action@master

0 comments on commit 76b5872

Please sign in to comment.