Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions #14

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 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
42 changes: 42 additions & 0 deletions .github/workflows/Build.yml
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-22.04

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

- uses: actions/setup-node@v3
with:
node-version: 18.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 "[email protected]"
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
12 changes: 12 additions & 0 deletions dist/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
Bundle version: 0.1.1
Build at: Sun Dec 03 2023 02:01:38 GMT+0000 (Coordinated Universal Time)
---

---

Bundle version: 0.1.1
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
2 changes: 1 addition & 1 deletion dist/VERSIONS.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bundle version: 0.1.1
Build at: Fri Dec 01 2023 19:42:54 GMT-0600 (Central Standard Time)
Build at: Sun Dec 03 2023 02:01:38 GMT+0000 (Coordinated Universal Time)
==========
Modules:
@awayfl/avm1:0.2.167
Expand Down
8 changes: 4 additions & 4 deletions dist/runtime.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/runtime.js.map

Large diffs are not rendered by default.

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/",
Fancy2209 marked this conversation as resolved.
Show resolved Hide resolved
"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