Send json data as object rather then Buffer (#3031) #5391
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: test | |
# On every pull request, but only on push to master | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
- release | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: volta-cli/action@v4 | |
- name: Set up Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.0 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Bootstrap | |
run: | | |
yarn | |
- name: Bootstrap | |
run: | | |
yarn bootstrap | |
- name: Run tests | |
run: | | |
npm run test-ci | |
- name: Coveralls | |
if: matrix.node-version == 18 | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |