-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d21d93a
commit 64d7ab5
Showing
97 changed files
with
7,293 additions
and
41,014 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
# .github/release.yml | ||
|
||
changelog: | ||
exclude: | ||
authors: | ||
# Ignore the release PR created by github-actions | ||
- github-actions | ||
categories: | ||
- title: Breaking Changes 🍭 | ||
labels: | ||
- "release: breaking change" | ||
- title: New Features 🎉 | ||
labels: | ||
- "release: feature" | ||
- title: Performance 🚀 | ||
labels: | ||
- "release: performance" | ||
- title: Bug Fixes 🐞 | ||
labels: | ||
- "release: bug fix" | ||
- title: Document 📖 | ||
labels: | ||
- "release: document" | ||
- title: Other Changes | ||
labels: | ||
- "*" |
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,49 @@ | ||
name: Test Runner for videomail-client (CI) | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build-test-lint-check: | ||
name: Build, Test, Prettier, Lint and Check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Node.js via nvm | ||
shell: bash --login {0} | ||
run: | | ||
nvm install --no-progress | ||
echo "$(dirname $(nvm which node))" >> $GITHUB_PATH | ||
- name: Install npm dependencies | ||
run: npm ci | ||
|
||
- name: Build assets | ||
run: npm run build-prod | ||
|
||
- name: Run prettier | ||
run: npm run prettier | ||
|
||
# TODO Restore later | ||
# - name: Run linter | ||
# run: npm run lint | ||
|
||
- name: Audit (detect vulnerabilities) | ||
run: npm run audit | ||
|
||
# TODO Restore later | ||
# - name: Run tests | ||
# uses: coactions/setup-xvfb@v1 | ||
# with: | ||
# run: npm run test | ||
|
||
- name: Run Chromatic | ||
uses: chromaui/action@latest | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,39 @@ | ||
name: Release to npm | ||
|
||
# on: | ||
# release: | ||
# types: [published] | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- name: 🛒 Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🪛 Install Node.js via nvm | ||
shell: bash --login {0} | ||
run: | | ||
nvm install --no-progress | ||
echo "$(dirname $(nvm which node))" >> $GITHUB_PATH | ||
- name: 📦 Install npm dependencies | ||
run: npm ci | ||
|
||
- name: 🔨 Build | ||
run: npm run build-prod | ||
|
||
- name: 📦 Publish to NPM | ||
uses: JS-DevTools/npm-publish@v3 | ||
with: | ||
token: ${{ secrets.VC_NPM_TOKEN_GITHUB }} | ||
access: public |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ npm-debug.log | |
.DS_Store | ||
*.code-workspace | ||
storybook-static | ||
dist |
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,13 +1,15 @@ | ||
env | ||
test | ||
.github | ||
.storybook | ||
.vscode | ||
etc | ||
node_modules | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
test | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.travis.yml | ||
audit-ci.json | ||
babel.config.js | ||
gulpfile.js | ||
package-lock.json | ||
prettier.config.js | ||
chromatic.config.json | ||
eslint.config.mjs | ||
prettier.config.cjs | ||
tsconfig.json | ||
package-lock.json |
This file was deleted.
Oops, something went wrong.
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.