Skip to content

Commit

Permalink
ci: fixup workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Feb 22, 2024
1 parent 89e0a08 commit e406d65
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # tag: v4.0.1
with:
node-version: current
- name: Lint
run: |
npm install
npm run lint
node-version: lts/-1
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run lint
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # tag: v4.0.1
with:
node-version: current
- name: npm install, build, and test
run: |
npm install
npm test
node-version: lts/-1
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm test

0 comments on commit e406d65

Please sign in to comment.