Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7834a31 commit 0c39637Copy full SHA for 0c39637
.github/workflows/main.yml
@@ -11,8 +11,10 @@ jobs:
11
- uses: nelonoel/branch-name@v1
12
- name: Echo week folder
13
run: |
14
- export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi')
+ export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
15
echo ${WEEK_FOLDER}
16
- uses: actions/setup-node@v1
17
with:
18
node-version: '10.x'
19
+ - run: npm install
20
+ - run: npm run test-${WEEK_FOLDER}
0 commit comments