Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- master # default branch

jobs:
build:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-tags: true

- uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install Dependencies
run: |
npm i
-
name: Force Unshallow Repo
run: |
git fetch --depth=500
-
name: Build Library
run: |
npm run build

- name: Package Library for npm
run: |
npm pack

- name: Update dist
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add dist
git commit -m "Update Dist"
git push
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ node_modules/

.npmrc

package-lock.json
package-lock.json

*.tgz
6 changes: 6 additions & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Build at: Fri Dec 01 2023 19:43:01 GMT-0600 (Central Standard Time)

---

Bundle version: 0.1.0
Build at: Fri Dec 01 2023 22:33:33 GMT-0100 (Hora padrão dos Açores)
---

---

Bundle version: 0.1.0
Build at: Sat Nov 18 2023 16:15:52 GMT-0600 (Central Standard Time)
---
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"clean": "rimraf --glob ./dist/*",
"static": "copyfiles -u 1 ./static/**/* ./dist/assets/",
"static": "copyfiles -u 1 ./static/** ./static/**/* ./dist/assets/",
"prebuild": "npm run clean && npm run static",
"build": "rollup -c --bundleConfigAsCjs",
"version": " npm run build",
Expand Down Expand Up @@ -64,4 +64,4 @@
"@awayjs/stage": "v0.11.138",
"@awayjs/view": "v0.6.61"
}
}
}
2 changes: 1 addition & 1 deletion releaseLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function collectLastTags (repoUrls = []) {
const req = repoUrls.map(({url}) => {
return invoke(
'git',
['describe', '--abbrev=0', '--tags'],
['describe', '--abbrev=0', '--tags', '--always'],
{ cwd: url, windowsHide: true }
).then((e) => e.trim());
});
Expand Down