TRACING-4435-BETA-4.6.1-2 #341
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 and test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- run: npm ci | |
- run: npm run build | |
- run: npm run types | |
- run: npm test | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
dist/browser.js | |
dist/index.js |