Merge pull request #906 from f3bot/getBundleID #669
This file contains hidden or 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: [push, pull_request] | |
jobs: | |
go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.16.6" | |
- run: go test -v ./go/... | |
js-wbn: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 20] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm --prefix ./js/bundle ci | |
- run: npm --prefix ./js/bundle run build | |
- run: npm --prefix ./js/bundle test | |
js-wbn-sign: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 20] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm --prefix ./js/sign ci | |
- run: npm --prefix ./js/sign run build | |
- run: npm --prefix ./js/sign test | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: creyD/[email protected] | |
with: | |
prettier_options: --write **/*.{js,ts} | |
only_changed: True | |
dry: True | |
prettier_version: 2.7.1 |