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

Move PaperJS to GitHub Actions #43

Merged
merged 5 commits into from
Oct 31, 2023
Merged
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
69 changes: 0 additions & 69 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@scratchfoundation/scratch-engineering
56 changes: 56 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
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
if: (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/develop') || startsWith(github.ref, 'refs/heads/hotfix') || startsWith(github.ref, 'refs/heads/release')
run: |
TRAVIS_TAG="${{github.ref_name}}" TRAVIS_COMMIT="${{github.sha}}" travis/deploy-prebuilt.sh

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.nvmrc
node_modules/
dist/*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v10
6 changes: 4 additions & 2 deletions gulp/typescript/tsconfig.json
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"]
}
Loading
Loading