Normalizing the files #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FizzBuzz Testing | |
on: [push, pull_request] | |
jobs: | |
test-nodejs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Run Test | |
run: node fizzbuzz.js | tr -d '\r' > /tmp/js.txt | |
- name: Compare output | |
run: diff -i /tmp/js.txt fizzbuzz.txt |