This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
Int 8408 Add Ingestion Sources #849
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14.x] | |
os: [ubuntu-latest] | |
steps: | |
- id: setup-node | |
name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Check out code repository source code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn | |
- name: Run build | |
run: yarn build | |
# Publishing is done in a separate job to allow | |
# for all matrix builds to complete. | |
BuildRelease: | |
needs: test | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
name: Checkout Code | |
steps: | |
- name: Setup Node | |
id: setup-node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Check out repo | |
id: check-out | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
token: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }} | |
- name: Build and Release | |
uses: jupiterone/action-npm-build-release@v1 | |
with: | |
npm_auth_token: ${{ secrets.NPM_AUTH_TOKEN }} | |
gh_token: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }} |