Skip to content

Commit

Permalink
ci: fix update locales action
Browse files Browse the repository at this point in the history
This commit fixes the update locales action by making it compatible with
the new ESM format.
  • Loading branch information
rickstaa committed Jun 2, 2024
1 parent 6a7150a commit cd312eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update_supported_locals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* and create a pull request if there are new languages.
*/

const fs = require("fs/promises");
import fs from "fs/promises";

const run = async () => {
console.log("Get current locales...");
Expand Down

0 comments on commit cd312eb

Please sign in to comment.