Skip to content

Commit

Permalink
Add yaml file and link to js script
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshranade committed Jan 23, 2024
1 parent dcb9350 commit 0b90c8d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 63 deletions.
1 change: 1 addition & 0 deletions .github/actions/check-for-CLA/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('Testing');
18 changes: 18 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CLA Checking
on:
push:

jobs:
check-cla:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: '20'
- name: run script
run: node .github/actions/check-for-cla/index.js
64 changes: 1 addition & 63 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,66 +16,4 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20'
- name: npm install
run: npm install
- name: lint *.js
run: npm run eslint
- name: lint *.md
run: npm run markdownlint
- name: format code
run: npm run prettier-check
coverage:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1
BRANCH: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: '20'
- name: npm install
run: npm install
- name: build
run: npm run build
- name: coverage (firefox)
run: npm run coverage -- --browsers FirefoxHeadless --webgl-stub --failTaskOnError --suppressPassed
- name: upload coverage artifacts
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: aws s3 sync ./Build/Coverage s3://cesium-public-builds/cesium/$BRANCH/Build/Coverage --delete --color on
release-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: '20'
- name: npm install
run: npm install
- name: release build
run: npm run make-zip
- name: release tests (chrome)
run: npm run test -- --browsers ChromeHeadless --failTaskOnError --webgl-stub --release --suppressPassed
- name: cloc
run: npm run cloc
node-18:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node 18
uses: actions/setup-node@v3
with:
node-version: '18'
- name: npm install
run: npm install
- name: release build
run: npm run build-release
- name: package cesium module
run: npm pack &> /dev/null
- name: package workspace modules
run: npm pack --workspaces &> /dev/null
- uses: ./.github/actions/verify-package
# temporarily removed to test workflows faster - will add back in final commit

0 comments on commit 0b90c8d

Please sign in to comment.