Merge pull request #1302 from pablo-mayrgundter/1300-sharing-removes-… #3902
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 & Unit Tests (jest) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
env: | |
SHARE_CONFIG: dev | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Create temporary .npmrc for GitHub Actions | |
run: | | |
echo "@bldrs-ai:registry=https://npm.pkg.github.com" > .npmrc | |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc | |
- name: Run a multi-line script | |
run: | | |
echo Running tests | |
yarn install | |
yarn lint | |
yarn test |