Skip to content

Commit

Permalink
Add split steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketionist committed Aug 27, 2023
1 parent 45043de commit 2177791
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/run-tests.yml
Expand Up @@ -39,10 +39,12 @@ jobs:
- name: Git checkout
uses: actions/checkout@v3

- name: Install dependencies on Node.js ${{ matrix.node-version }}
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Lint
Expand All @@ -52,3 +54,9 @@ jobs:
else
echo "Skipping lint on Windows"
fi
- name: Test
- run: echo "Tests from code:"
- run: npm test
- run: echo "Tests from file with TARGET_FILE_PATH env variable:"
- run: TARGET_FILE_PATH='./README.md' node index.js

0 comments on commit 2177791

Please sign in to comment.