Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Jul 15, 2023
1 parent 7410a11 commit fb88f18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
node-version: [10.16.0, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -40,6 +42,8 @@ jobs:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -54,6 +58,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js (latest)
run: brew install node
- name: Check Node.js version
Expand All @@ -70,6 +76,8 @@ jobs:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Check Node.js version
run: node -pe process.versions
- name: Install ESLint + ESLint configs/plugins
run: npm install --only=dev
- name: Lint files
Expand Down

0 comments on commit fb88f18

Please sign in to comment.