Skip to content

Commit 81a0382

Browse files
committed
merge-upstream: initial merge of upstream/develop
installs & compiles but has test errors aside from expected merge conflicts, notable changes from upstream: - removed husky, commitlint, etc. - removed semantic-release etc.
1 parent bd0cf91 commit 81a0382

File tree

118 files changed

+44017
-15510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+44017
-15510
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ trim_trailing_whitespace = true
99

1010
[*.{js,html}]
1111
indent_style = space
12+
13+
[.circleci/config.yml]
14+
indent_size = 2
15+
indent_style = space

.github/workflows/ci-cd.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: CI/CD
2+
3+
on:
4+
pull_request: # Runs whenever a pull request is created or updated
5+
push: # Runs whenever a commit is pushed to the repository...
6+
branches: [main, develop, hotfix/*] # ...on any of these branches
7+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
8+
9+
concurrency:
10+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: write # publish a GitHub release
15+
pages: write # deploy to GitHub Pages
16+
issues: write # comment on released issues
17+
pull-requests: write # comment on released pull requests
18+
19+
jobs:
20+
ci-cd:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: wagoid/commitlint-github-action@v5
25+
if: github.event_name == 'pull_request'
26+
- uses: actions/setup-node@v3
27+
with:
28+
cache: 'npm'
29+
node-version-file: '.nvmrc'
30+
- name: Info
31+
run: |
32+
cat <<EOF
33+
Node version: $(node --version)
34+
NPM version: $(npm --version)
35+
GitHub ref: ${{ github.ref }}
36+
GitHub head ref: ${{ github.head_ref }}
37+
EOF
38+
- name: Setup
39+
run: |
40+
npm ci
41+
mkdir -p ./test/results
42+
- run: npm test
43+
- run: npm run build
44+
- name: Deploy to GH Pages
45+
uses: peaceiris/actions-gh-pages@v3
46+
with:
47+
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
publish_dir: playground
49+
full_commit_message: "Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
50+
- name: semantic-release
51+
env:
52+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
run: npx --no -- semantic-release

.github/workflows/update-i18n.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Update i18n
2+
3+
on:
4+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
5+
schedule:
6+
- cron: 0 0 * * * # daily at midnight UTC = 7-8pm US Eastern
7+
8+
concurrency:
9+
group: '${{ github.workflow }}'
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: write
14+
15+
jobs:
16+
ci-cd:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v3
21+
with:
22+
cache: 'npm'
23+
node-version-file: '.nvmrc'
24+
- name: Info
25+
run: |
26+
cat <<EOF
27+
Node version: $(node --version)
28+
NPM version: $(npm --version)
29+
GitHub ref: ${{ github.ref }}
30+
GitHub head ref: ${{ github.head_ref }}
31+
EOF
32+
- name: Setup
33+
run: npm ci
34+
- name: Extract translations
35+
run: npm run i18n:src
36+
- name: Push translations
37+
env:
38+
TX_TOKEN: ${{ secrets.TX_TOKEN }}
39+
run: npm run i18n:push

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16

.travis.yml

-74
This file was deleted.

0 commit comments

Comments
 (0)