Skip to content

Commit

Permalink
Fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Jan 9, 2024
1 parent 7ef70e3 commit 0f94fca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ on:
- cron: '0 4 * * *'

jobs:
lint:
# The linting packages require modern Node.js versions in order to run.
# Therefore, we run linting separately and only once.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts'
- run: npm run lint

build:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -37,7 +48,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test
- name: Rename coverage file
run: >
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"homepage": "https://github.com/DataDog/import-in-the-middle#readme",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-syntax-import-assertions": "^7.23.3",
"@types/node": "^18.0.6",
Expand Down

0 comments on commit 0f94fca

Please sign in to comment.