forked from paperjs/paper.js
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ron de las Alas
committed
Oct 30, 2023
1 parent
87c5056
commit c93351c
Showing
7 changed files
with
1,216 additions
and
384 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,55 @@ | ||
on: | ||
push: # Runs whenever a commit is pushed to the repository... | ||
concurrency: | ||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
JVM_OPTS: -Xmx3200m | ||
JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: wagoid/commitlint-github-action@v5 | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
- name: Setup submodule | ||
run: git submodule update --init --recursive | ||
- uses: actions/setup-node@v2 | ||
with: | ||
cache: "npm" | ||
node-version-file: ".nvmrc" | ||
- name: Info | ||
run: | | ||
cat <<EOF | ||
Node version: $(node --version) | ||
NPM version: $(npm --version) | ||
GitHub ref: ${{ github.ref }} | ||
GitHub head ref: ${{ github.head_ref }} | ||
EOF | ||
- name: Setup | ||
run: | | ||
# sudo apt update | ||
# sudo apt install libgif-dev | ||
TRAVIS_BRANCH="${{github.ref_name}}" travis/setup-git.sh # Configure git user info | ||
travis/install-assets.sh | ||
npm set progress=false | ||
which gulp || npm install -g gulp-cli | ||
- name: Install NPM Dependencies | ||
run: | | ||
npm ci --legacy-peer-deps | ||
- run: gulp jshint | ||
- run: gulp minify | ||
- run: gulp test | ||
- run: gulp zip | ||
- name: Tag build | ||
run: | | ||
TRAVIS_TAG="${{github.ref_name}}" TRAVIS_COMMIT="${{github.sha}}" travis/deploy-prebuilt.sh | ||
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
node_modules/ | ||
dist/* | ||
|
||
|
||
gulp/typescript/typescript-definition-test.js |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ES5", | ||
"strictNullChecks": true | ||
"strictNullChecks": false | ||
}, | ||
"files" : [ | ||
"typescript-definition-test.ts" | ||
] | ||
], | ||
"exclude": [ | ||
"node_modules"] | ||
} |
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.