Skip to content

Commit

Permalink
Merge branch 'main' into pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Apr 29, 2024
2 parents 7a36123 + 027bb24 commit 7805926
Show file tree
Hide file tree
Showing 21 changed files with 3,367 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:

steps:
# Note: This workflow disables deployment steps and micro:bit branding installation on forks.
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Configure node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
registry-url: "https://npm.pkg.github.com"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm install --no-save @microbit-foundation/[email protected].38 @microbit-foundation/[email protected] @microbit-foundation/[email protected] @microbit-foundation/circleci-npm-package-versioner@1
- run: npm install --no-save @microbit-foundation/[email protected].43 @microbit-foundation/[email protected] @microbit-foundation/[email protected] @microbit-foundation/circleci-npm-package-versioner@1
if: github.repository_owner == 'microbit-foundation'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion bin/update-translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ $# -eq 0 ]; then
exit 1
fi

languages="ca de fr es-ES ja ko nl zh-CN zh-TW"
languages="ca de fr es-ES ja ko nl zh-CN zh-TW lol"

mkdir -p crowdin/translated
for language in $languages; do
Expand Down
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
window.dataLayer.push(arguments);
};
</script>
<script type="text/javascript" id="crowdin-jipt-config">
(function () {
function escape() {
window.location.href = "%VITE_FULL_URL";
}
window._jipt = [
["project", "microbitorg"],
["escape", escape],
];
})();
</script>
<% } %>
<script type="module" src="/src/index.tsx"></script>
</head>
Expand Down
Loading

0 comments on commit 7805926

Please sign in to comment.