Add third parameter with response to trace and allow it to be asynchronous #65
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 🪡 Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: 📦 Install Dependencies | |
run: npm install | |
- name: ⚡ Run tests | |
run: | | |
npm run test | |
- name: 🚦 Lint | |
run: | | |
npm run lint | |
- name: 🧙🏿♂️ TSC | |
run: | | |
npm run tsc | |
- name: 📥 Generate npm package | |
run: | | |
npm run build |