Skip to content

Commit

Permalink
fix: fixed main yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adhikara13 committed Dec 16, 2023
1 parent 560d830 commit 0663290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:

- name: Fetch and Save Data
run: |
node -e "const fetch = require('node-fetch'); \
const fs = require('fs'); \
node -e "import fetch from 'node-fetch'; \
import fs from 'fs'; \
fetch('https://vdnh.ru/local/templates/v3_new_header/js/places-s1.js') \
.then(response => response.text()) \
.then(data => { \
Expand All @@ -37,4 +37,4 @@ jobs:
.catch(error => { \
console.error('Error fetching data:', error); \
process.exit(1); \
})"
})" --loader ts-node/esm

0 comments on commit 0663290

Please sign in to comment.