mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-21 15:29:24 +00:00
* First pass of cleanup of old actions code * fixed primary CHANGELOG file from setup-gcloud shift * cleaning up old workflows * removing working-directory spec as it's no longer needed * Moar cleanup on the path to cleanup redemption * "it now builds and tests pass locally" * lint error cleanup * More path cleanup * addressing PR comments, more cleanup * missed two files in last update * Update README.md Co-authored-by: Averi Kitsch <akitsch@google.com>
36 lines
663 B
YAML
36 lines
663 B
YAML
name: setup-gcloud Unit
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- './**'
|
|
- '.github/workflows/setup-gcloud*'
|
|
pull_request:
|
|
paths:
|
|
- './**'
|
|
- '.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
|
|
run: npm install
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Test
|
|
run: npm test
|