mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-28 03:29:23 +00:00
* Add optional credentials_file_path input for setup-gcloud (#153) * Add optional credentials_file_path input to setup-gcloud * Update setup-gcloud/tests/setup-gcloud.test.ts Co-authored-by: Averi Kitsch <akitsch@google.com> Co-authored-by: Averi Kitsch <akitsch@google.com> * Respond to comments * lint * update timeout Co-authored-by: Bryan Ricker <bryancricker@gmail.com>
39 lines
805 B
YAML
39 lines
805 B
YAML
name: setup-gcloud Unit
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'setup-gcloud/**'
|
|
- '.github/workflows/setup-gcloud*'
|
|
pull_request:
|
|
paths:
|
|
- 'setup-gcloud/**'
|
|
- '.github/workflows/setup-gcloud*'
|
|
|
|
jobs:
|
|
run:
|
|
name: setup-gcloud
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set Node.js 10.x
|
|
uses: actions/setup-node@master
|
|
with:
|
|
node-version: 10.x
|
|
|
|
- name: npm install
|
|
working-directory: ./setup-gcloud
|
|
run: npm install
|
|
|
|
- name: Lint
|
|
working-directory: ./setup-gcloud
|
|
run: npm run lint
|
|
|
|
- name: Test
|
|
working-directory: ./setup-gcloud
|
|
run: npm test
|