Skip to content

Commit

Permalink
feat: updated workflow files to use checkout@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Perrotte committed Jan 2, 2020
1 parent 797a597 commit 58c803f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
# Checkout the npm/cli repo
- uses: actions/checkout@v1.1.0
- uses: actions/checkout@v2

# Installs the specific version of nodejs
- name: Use nodejs 12.x
Expand Down
55 changes: 27 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,30 @@ jobs:

steps:
# Checkout the npm/cli repo
- uses: actions/checkout@v1

# Installs the specific version of Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# Run the installer script
- name: Install dependencies
run: node . install

# Run the tests
- name: Run Tap tests
run: node . run tap -- "test/tap/*.js" -t600 -Rclassic -c
env:
DEPLOY_VERSION: testing
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_OPTIONAL_TOKEN }}

# - name: Run sudo tests on Linux
# if: matrix.os == 'ubuntu-latest'
# run: sudo PATH=$PATH $(which node) . run tap -- "test/tap/*.js" --coverage --timeout 600

- name: Lint
run: npx standard

- name: Validate licenses
run: node . run licenses
- uses: actions/checkout@v2
# Installs the specific version of Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# Run the installer script
- name: Install dependencies
run: node . install

# Run the tests
- name: Run Tap tests
run: node . run tap -- "test/tap/*.js" -t600 -Rclassic -c
env:
DEPLOY_VERSION: testing
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_OPTIONAL_TOKEN }}

# - name: Run sudo tests on Linux
# if: matrix.os == 'ubuntu-latest'
# run: sudo PATH=$PATH $(which node) . run tap -- "test/tap/*.js" --coverage --timeout 600

- name: Lint
run: npx standard

- name: Validate licenses
run: node . run licenses

0 comments on commit 58c803f

Please sign in to comment.