-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: split into multiple files and added build-system
- Loading branch information
Giesenberg, Jan
committed
Feb 5, 2022
1 parent
87d8720
commit a0a4ec6
Showing
44 changed files
with
15,749 additions
and
1,290 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,42 @@ | ||
name: CI | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: sudo apt update && sudo apt install unzip zip | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Run development build | ||
run: npm run build | ||
- run: zip -qq -r node_modules.zip node_modules | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: node_modules.zip | ||
version: | ||
if: github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- run: apt update && apt install unzip zip | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v1 | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: node_modules.zip | ||
- run: unzip -qq node_modules.zip | ||
- run: npm run semantic-release |
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 |
---|---|---|
|
@@ -232,3 +232,4 @@ $RECYCLE.BIN/ | |
chrome-overrides/ | ||
/dependencies/ | ||
foundry.js | ||
.devDomain |
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 @@ | ||
16 |
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 @@ | ||
{} |
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,15 @@ | ||
branches: | ||
- main | ||
plugins: | ||
- \@semantic-release/commit-analyzer: | ||
- \@semantic-release/release-notes-generator: | ||
- \@semantic-release/npm: | ||
npmPublish: false | ||
- \@semantic-release/git: | ||
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}' | ||
- \@semantic-release/exec: | ||
prepareCmd: 'npm run prod && cd dist/ && zip -qq -r -o module.zip *' | ||
- \@semantic-release/github: | ||
assets: | ||
- dist/module.zip | ||
- dist/module.json |
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.