Skip to content

Commit

Permalink
Merge branch 'main' into webusb-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon authored May 3, 2024
2 parents 6cec83e + 2126e74 commit 10b772a
Show file tree
Hide file tree
Showing 48 changed files with 3,679 additions and 248 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,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 @@ -35,6 +35,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 10b772a

Please sign in to comment.