Skip to content

Commit

Permalink
Add workflow: block-BHaaai
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat-patodi committed May 5, 2021
1 parent 05d34d0 commit 219a667
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node.js CI

on:
push:
branches: [ block* ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: branch name
run: echo running on branch ${GITHUB_REF##*/}
- name: run ci
run: cd $(echo "${GITHUB_REF##*/}") && npm ci
- name: build
run: cd $(echo "${GITHUB_REF##*/}") && npm run build --if-present
- name: run test
run: cd $(echo "${GITHUB_REF##*/}") && npm test

0 comments on commit 219a667

Please sign in to comment.