mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-30 22:19:23 +00:00
* init * fix types, set output * init * fix types, set output * refactor * enable tests * get bucket name from secret * rebuild * remove prints * rename action * add DS_Store to gitignore * lint * address comments * rename action * addressed review comments * fix pr comments, new testing approach * update IT secret names * fix filename * update run paths * fix readme add credentials field for setup gcloud
38 lines
880 B
YAML
38 lines
880 B
YAML
name: upload-cloud-storage Unit
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'upload-cloud-storage/**'
|
|
- '.github/workflows/upload-cloud-storage*'
|
|
pull_request:
|
|
paths:
|
|
- 'upload-cloud-storage/**'
|
|
- '.github/workflows/upload-cloud-storage*'
|
|
|
|
jobs:
|
|
run:
|
|
name: test
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@master
|
|
with:
|
|
node-version: 12.x
|
|
|
|
- name: npm install
|
|
run: npm install
|
|
#change all working dirs
|
|
working-directory: ./upload-cloud-storage
|
|
|
|
- name: npm lint
|
|
run: npm run lint
|
|
working-directory: ./upload-cloud-storage
|
|
|
|
- name: npm test
|
|
run: npm run test
|
|
working-directory: ./upload-cloud-storage
|