Skip to content

Commit

Permalink
Followup work on setup github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 25, 2020
1 parent 93f71d4 commit 412bb10
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev-test.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- "12"
- "10"

name: Dev test on node ${{ matrix.node }} and ${{ matrix.os }}
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.NODE }}
node-version: ${{ matrix.node }}

- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/lint.yml
Expand Up @@ -20,21 +20,24 @@ jobs:
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Check dependencies
- name: Check Dependencies
run: yarn check-deps

- name: Check JSDoc types
- name: Check JSDoc Types
run: yarn check-types

- name: Lint code
- name: Lint Code
run: yarn lint

- name: Lint docs
- name: Lint Docs
run: yarn lint-docs

- name: Spellcheck
run: yarn spellcheck

- name: Check file changes
- name: Lint Changelog
run: yarn lint-changelog

- name: Check File Changes
run: yarn && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."

5 changes: 4 additions & 1 deletion .github/workflows/prod-test.yml
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Build Package
run: yarn build

- name: Lint Code
run: yarn test:dist

- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -42,7 +45,7 @@ jobs:
- "12"
- "10"

name: Prod test on node ${{ matrix.node }} and ${{ matrix.os }}
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: [build]
steps:
Expand Down

0 comments on commit 412bb10

Please sign in to comment.