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: with:
node-version: '14.x' node-version: '14.x'
- name: create diff - 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 - name: Checks
run: | run: |
cd test cd tests
npm install chalk npm install chalk
cd .. cd ..
script -e -c 'node tests/test.js -r README.md -d temp.md' script -e -c 'node tests/test.js -r README.md -d temp.md'
check_links: check_links:
@ -32,7 +33,9 @@ jobs:
with: with:
ruby-version: 2.6.x ruby-version: 2.6.x
- name: create diff - 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 - name: Checks
run: | run: |
gem install awesome_bot gem install awesome_bot