-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from studiometa/feature/update-studiometa-js-to…
…olkit [Feature] Update @studiometa/js-toolkit to v3.0.0-alpha.6
- Loading branch information
Showing
11 changed files
with
2,805 additions
and
1,222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!--- | ||
☝️ PR title should be prefixed by [Feature], [Bugfix], [Release] or [Hotfix] | ||
--> | ||
|
||
### 🔗 Linked issue | ||
|
||
<!-- Please ensure there is an open issue and mention its number as #123 --> | ||
|
||
### ❓ Type of change | ||
|
||
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> | ||
|
||
- [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations) | ||
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue) | ||
- [ ] 👌 Enhancement (improving an existing functionality like performance) | ||
- [ ] ✨ New feature (a non-breaking change that adds functionality) | ||
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries) | ||
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change) | ||
|
||
### 📚 Description | ||
|
||
<!-- Describe your changes in detail --> | ||
<!-- Why is this change required? What problem does it solve? --> | ||
<!-- If it resolves an open issue, please link to the issue here. For example "Resolves #1337" --> | ||
|
||
### 📝 Checklist | ||
|
||
<!-- Put an `x` in all the boxes that apply. --> | ||
<!-- If your change requires a documentation PR, please link it appropriately --> | ||
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> | ||
|
||
- [ ] I have linked an issue or discussion. | ||
- [ ] I have added tests (if possible). | ||
- [ ] I have updated the documentation accordingly. | ||
- [ ] I have updated the changelog. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>studiometa/renovate" | ||
] | ||
"extends": ["github>studiometa/renovate"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'npm' | ||
- name: Get npm cache directory | ||
id: npm-cache-dir | ||
shell: bash | ||
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | ||
- uses: actions/cache@v4 | ||
id: npm-cache | ||
with: | ||
path: | | ||
${{ steps.npm-cache-dir.outputs.dir }} | ||
**/node_modules | ||
.eslintcache | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: ${{ runner.os }}-node- | ||
- name: Install modules | ||
run: npm install --no-audit --no-fund | ||
- name: Build | ||
run: npm run build | ||
- name: Demo build | ||
run: npm run demo:build | ||
|
||
code_quality: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'npm' | ||
- name: Get npm cache directory | ||
id: npm-cache-dir | ||
shell: bash | ||
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | ||
- uses: actions/cache@v4 | ||
id: npm-cache | ||
with: | ||
path: | | ||
${{ steps.npm-cache-dir.outputs.dir }} | ||
**/node_modules | ||
.eslintcache | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: ${{ runner.os }}-node- | ||
- name: Install modules | ||
run: npm install --no-audit --no-fund | ||
- name: Run code quality tests | ||
run: npm run lint | ||
|
||
export_size: | ||
runs-on: macos-latest | ||
if: github.event_name == 'pull_request' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
- uses: titouanmathis/export-size-action@main | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
build_script: npm run build | ||
paths: packages/playground/ | ||
bundler: esbuild | ||
node-version: '22' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.