mirror of
https://github.com/google-github-actions/auth.git
synced 2026-06-08 00:17:05 +00:00
Drop install_and_compile requirement
This commit is contained in:
parent
b39ebee9c1
commit
c2df8017cd
1 changed files with 0 additions and 27 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
|
@ -14,32 +14,8 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install_and_compile:
|
|
||||||
name: 'install_and_compile'
|
|
||||||
runs-on: 'ubuntu-latest'
|
|
||||||
steps:
|
|
||||||
- uses: 'actions/checkout@v2'
|
|
||||||
|
|
||||||
- uses: 'actions/setup-node@v2'
|
|
||||||
with:
|
|
||||||
node-version: '12.x'
|
|
||||||
|
|
||||||
- name: 'npm build'
|
|
||||||
run: 'npm ci && npm run build'
|
|
||||||
|
|
||||||
- name: 'verify compiled'
|
|
||||||
shell: 'bash'
|
|
||||||
run: |-
|
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
|
||||||
echo "TypeScript is not compiled!"
|
|
||||||
git diff
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
name: 'unit'
|
name: 'unit'
|
||||||
needs: 'install_and_compile'
|
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -61,7 +37,6 @@ jobs:
|
||||||
|
|
||||||
credentials_json:
|
credentials_json:
|
||||||
name: 'credentials_json'
|
name: 'credentials_json'
|
||||||
needs: 'install_and_compile'
|
|
||||||
runs-on: '${{ matrix.os }}'
|
runs-on: '${{ matrix.os }}'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -123,7 +98,6 @@ jobs:
|
||||||
|
|
||||||
workload_identity_federation:
|
workload_identity_federation:
|
||||||
name: 'workload_identity_federation'
|
name: 'workload_identity_federation'
|
||||||
needs: 'install_and_compile'
|
|
||||||
runs-on: '${{ matrix.os }}'
|
runs-on: '${{ matrix.os }}'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -194,7 +168,6 @@ jobs:
|
||||||
# has permissions to read the file.
|
# has permissions to read the file.
|
||||||
docker:
|
docker:
|
||||||
name: 'docker'
|
name: 'docker'
|
||||||
needs: 'install_and_compile'
|
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue