setup-gcloud/.github/workflows/upload-cloud-storage.yml
Bharath KKB d72625cc00
Add GCS Action (#121)
* 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
2020-06-29 17:23:26 -05:00

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