fix pull_request workflow

Signed-off-by: Nathan Rew <nrew225@gmail.com>
This commit is contained in:
Nathan Rew 2021-06-30 16:49:40 -05:00
parent becb838708
commit af89e7930f

View File

@ -14,13 +14,14 @@ jobs:
with:
node-version: '14.x'
- name: create diff
run: git diff origin/master -U0 README.md | grep --perl-regexp --only-matching "(?<=^\+).*" >> temp.md
run: |
git fetch
git diff origin/master -U0 README.md | grep --perl-regexp --only-matching "(?<=^\+).*" >> temp.md
- name: Checks
run: |
cd test
cd tests
npm install chalk
cd ..
script -e -c 'node tests/test.js -r README.md -d temp.md'
check_links:
@ -32,7 +33,9 @@ jobs:
with:
ruby-version: 2.6.x
- name: create diff
run: git diff origin/master -U0 README.md | grep --perl-regexp --only-matching "(?<=^\+).*" >> temp.md
run: |
git fetch
git diff origin/master -U0 README.md | grep --perl-regexp --only-matching "(?<=^\+).*" >> temp.md
- name: Checks
run: |
gem install awesome_bot