Skip to content

Commit

Permalink
import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timur27 committed Feb 27, 2025
1 parent 88a2202 commit 6fb4388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/feature-pair-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Create script
run: |
cat > check-feature-pairs.js << 'EOL'
const fs = require('fs');
const { Octokit } = require('@octokit/rest');
import fs from 'fs';
import { Octokit } from '@octokit/rest';
async function run() {
try {
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
EOL
- name: Run feature pair check
run: node check-feature-pairs.js
run: node --experimental-json-modules check-feature-pairs.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}

0 comments on commit 6fb4388

Please sign in to comment.