Skip to content

Commit

Permalink
fix: again main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adhikara13 committed Dec 16, 2023
1 parent 0663290 commit 7a5d3cb
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 "import fetch from 'node-fetch'; \
import fs from 'fs'; \
node -e "const fetch = require('node-fetch'); \
const fs = require('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 7a5d3cb

Please sign in to comment.