diff --git a/.github/actions/check-for-CLA/index.js b/.github/actions/check-for-CLA/index.js new file mode 100644 index 000000000000..80ba503c216b --- /dev/null +++ b/.github/actions/check-for-CLA/index.js @@ -0,0 +1 @@ +console.log('Testing'); \ No newline at end of file diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 000000000000..0d31437c9e01 --- /dev/null +++ b/.github/workflows/cla.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 0d9368b8080d..ddc7fed07917 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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 \ No newline at end of file