diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea8dbd9..ee26877 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,13 +20,13 @@ jobs: node-version: '21' - name: install dependency run: yarn - - name: create dist path - run: mkdir -p dist/v2 - name: fix html loader # https://github.com/i18next/i18next-parser/commit/6a48bd460ede9f01decbf9f2e3bbaa70ee781d83 - run: sed -i '' 's|import cheerio from "cheerio";|import * as cheerio from '\''cheerio'\'';|' node_modules/@esbuilder/html/lib/html.mjs + run: sed -i 's|import cheerio from "cheerio";|import * as cheerio from '\''cheerio'\'';|' node_modules/@esbuilder/html/lib/html.mjs - name: Create Firefox artifacts - run: yarn build firefox + run: | + mkdir -p dist/v2 + yarn build firefox - uses: actions/upload-artifact@v3 with: name: read-later