diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..522cfdd --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,33 @@ +name: Test + +on: + pull_request: + push: + branches: + - main + - whscullin/actions + +jobs: + test-all: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: 'true' + - name: GCloud auth + uses: 'google-github-actions/auth@v2' + with: + credentials_json: '${{ secrets.BIGQUERY_KEY }}' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 18.x + - name: Install + run: npm ci --loglevel error + - name: Build and Test + run: | + npm run lint + npm run build + npm run test-silent + npm run test-silent-e2e