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 e18d904 commit dfb3500Copy full SHA for dfb3500
.github/workflows/main.yml
@@ -9,12 +9,12 @@ jobs:
9
steps:
10
- uses: actions/checkout@v2
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')
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
+ - name: Echo week folder and run tests
+ run: |
+ export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
+ echo ${WEEK_FOLDER}\
+ npm run test-${WEEK_FOLDER}
0 commit comments