-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
World System and Basic Physics (#968)
- Loading branch information
Showing
29 changed files
with
696 additions
and
509 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
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,47 @@ | ||
name: Fission | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
runUnitTests: | ||
name: Package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: JavaScript Setup | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Get date | ||
id: date # this is used on variable path | ||
run: | | ||
echo "timestamp=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_OUTPUT | ||
- name: Install Dependencies | ||
run: | | ||
cd fission | ||
npm install | ||
- name: Get package info | ||
id: info | ||
uses: codex-team/[email protected] | ||
with: | ||
path: fission/ | ||
|
||
- name: Build | ||
id: build | ||
run: | | ||
cd fission | ||
npm run build | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
id: upload-artifact | ||
with: | ||
name: "${{ steps.info.outputs.name }}@${{ steps.info.outputs.version }}[${{ steps.date.outputs.timestamp }}]" | ||
path: fission/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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Fission | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: [ master, dev ] | ||
pull_request: | ||
branches: [ master, dev ] | ||
|
||
jobs: | ||
runUnitTests: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: JavaScript Setup | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20 | ||
- name: Install Dependencies | ||
run: | | ||
cd fission | ||
npm install | ||
- name: Unit Tests | ||
id: unit-tests | ||
run: | | ||
cd fission | ||
npm run test | ||
continue-on-error: true | ||
- name: Check Success | ||
run: | | ||
if [ ${{ steps.unit-tests.outcome }} == "success" ]; then | ||
echo "Format Validation Passed" | ||
else | ||
echo "Format Validation Failed" | ||
exit 1 | ||
fi |
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
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
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
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
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.