Delete github workflows on glsl-dependent branch (#419)
* Delete pr.yml
* Delete glsl.yml
diff --git a/.github/workflows/glsl.yml b/.github/workflows/glsl.yml
deleted file mode 100644
index abec6f6..0000000
--- a/.github/workflows/glsl.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: GLSL CI
-
-on:
- push:
- branches: [glsl-dependent]
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2.3.1
- with:
- persist-credentials: false
- - uses: actions/setup-node@v2-beta
- with:
- node-version: "15.x"
- - run: npm ci
- - run: |
- npm test
- sed -i '/out\//d' .gitignore
- sed -i '/out-wpt\//d' .gitignore
- - run: |
- cat << EOF >> firebase.json
- {
- "hosting": {
- "public": ".",
- "ignore": [
- "firebase.json",
- "**/.*",
- "**/node_modules/**"
- ]
- }
- }
- EOF
- cat << EOF >> .firebaserc
- {
- "projects": {
- "default": "gpuweb-prs"
- }
- }
- EOF
- - id: deployment
- uses: FirebaseExtended/action-hosting-deploy@v0
- with:
- firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
- expires: 30d
- channelId: live
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
deleted file mode 100644
index f7a0ff8..0000000
--- a/.github/workflows/pr.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-name: Pull Request CI
-
-on:
- pull_request_target:
- branches:
- - main
- - glsl-dependent
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2.3.1
- with:
- persist-credentials: false
- - run: |
- git fetch origin ${{ github.event.pull_request.head.sha }}
- git checkout ${{ github.event.pull_request.head.sha }}
- - uses: actions/setup-node@v2-beta
- with:
- node-version: "15.x"
- - run: npm ci
- - run: |
- npm test
- sed -i '/out\//d' .gitignore
- sed -i '/out-wpt\//d' .gitignore
- - run: |
- cat << EOF >> firebase.json
- {
- "hosting": {
- "public": ".",
- "ignore": [
- "firebase.json",
- "**/.*",
- "**/node_modules/**"
- ]
- }
- }
- EOF
- cat << EOF >> .firebaserc
- {
- "projects": {
- "default": "gpuweb-prs"
- }
- }
- EOF
- - id: deployment
- continue-on-error: true
- uses: FirebaseExtended/action-hosting-deploy@v0
- with:
- firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
- expires: 30d
- channelId: cts-prs-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
- - uses: peter-evans/create-or-update-comment@v1
- continue-on-error: true
- if: ${{ steps.deployment.outcome == 'success' }}
- with:
- issue-number: ${{ github.event.pull_request.number }}
- body: |
- Previews, as seen at the time of posting this comment:
- [**Run this PR's tests live**](${{ steps.deployment.outputs.details_url }}/standalone/)
- <sub>${{ github.event.pull_request.head.sha }}</sub>
- <!--
- pr;label;sha
- ${{ github.event.pull_request.number }};${{ github.event.pull_request.head.label }};${{ github.event.pull_request.head.sha }}
- -->