Skip to content

Commit

Permalink
Modernize deno support
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Dec 4, 2022
2 parents d29b224 + 85963d8 commit 7cfc147
Show file tree
Hide file tree
Showing 166 changed files with 80,291 additions and 52,442 deletions.
2 changes: 1 addition & 1 deletion .clocignore
@@ -1 +1 @@
./src/ts/jssm-dot.ts
./src/ts/fsl_parser.ts
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug-reporting-template.md

This file was deleted.

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Unified issue tracker
url: https://github.com/StoneCypher/fsl/issues
about: Issues for all FSL and JSSM repositories go here
- name: Live community on Discord
url: https://discord.com/invite/9P95USqnMK
about: Come chat with us
- name: Live editor
url: https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html
about: Try what you're doing live
- name: Documentation
url: https://stonecypher.github.io/jssm/docs/
about: Read the friendly manual
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/example-machine-template.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature-requesting-template.md

This file was deleted.

117 changes: 113 additions & 4 deletions .github/workflows/nodejs.yml
Expand Up @@ -6,6 +6,96 @@ jobs:



unicode-atoms:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Check full unicode over atoms
run: |
npm install && npm run make && npm run jest-unicode-atom
unicode-strings:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Check full unicode over strings
run: |
npm install && npm run make && npm run jest-unicode-string
unicode-atom-labels:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Check full unicode over atom labels
run: |
npm install && npm run make && npm run jest-unicode-atom-label
unicode-string-labels:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Check full unicode over string labels
run: |
npm install && npm run make && npm run jest-unicode-string-label
unicode-actions:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Check full unicode over action statements
run: |
npm install && npm run make && npm run jest-unicode-action
build:

strategy:
Expand All @@ -32,7 +122,7 @@ jobs:
- node-version: 17.x
os: ubuntu-latest

runs-on: ${{matrix.os}}
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -65,7 +155,7 @@ jobs:
with:
node-version: 18.x

- name: Verify the version was bumped
- name: Run the benchmarks
run: |
npm install && npm run benny
Expand Down Expand Up @@ -96,7 +186,7 @@ jobs:

if: (github.event.pusher.name == github.event.repository.owner.name) && (github.ref == 'refs/heads/main')

needs: [build, verify-version-bump]
needs: [build, verify-version-bump, unicode-strings, unicode-atoms, unicode-actions, unicode-atom-labels, unicode-string-labels]

runs-on: ubuntu-latest

Expand All @@ -107,6 +197,7 @@ jobs:
run: |
export TAG=$(awk -F'"' '/"version": ".+"/{ print $4; exit; }' package.json)
echo "TAG=$TAG" >> $GITHUB_ENV
echo $TAG
- name: Use Node.js 18.x
uses: actions/setup-node@v1
Expand All @@ -132,6 +223,16 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.JSSM_PUBLISH_TOKEN_FOR_GH_CI_CD }}

- name: Tweet notice
run: |
npm install && node ./src/buildjs/tweet.js
env:
JSSM_TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.JSSM_TWITTER_ACCESS_TOKEN_SECRET }}
JSSM_TWITTER_API_ACCESS_TOKEN: ${{ secrets.JSSM_TWITTER_API_ACCESS_TOKEN }}
JSSM_TWITTER_API_KEY: ${{ secrets.JSSM_TWITTER_API_KEY }}
JSSM_TWITTER_API_SECRET: ${{ secrets.JSSM_TWITTER_API_SECRET }}
TW_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}



bump-jssm-viz:
Expand Down Expand Up @@ -160,5 +261,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Results page
run: echo '### Results!\n\n* Published to NPM\n* Bumped `jssm-viz`\n* Bumped `jssm-viz-demo`' >> $GITHUB_STEP_SUMMARY
run: |
export TAG=$(awk -F'"' '/"version": ".+"/{ print $4; exit; }' package.json)
echo '### Results!' >> $GITHUB_STEP_SUMMARY
echo "* Published $TAG to NPM" >> $GITHUB_STEP_SUMMARY
echo '* Bumping `jssm-viz`' >> $GITHUB_STEP_SUMMARY
echo ' * which will bump `jssm-viz-cli`' >> $GITHUB_STEP_SUMMARY
echo ' * which will bump `jssm-viz-demo`' >> $GITHUB_STEP_SUMMARY

0 comments on commit 7cfc147

Please sign in to comment.