Add eslint and sort includes #692
Workflow file for this run
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 | ||
|
Check failure on line 1 in .github/workflows/build.yml
|
||
| 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: [20, 22, 24] | ||
| 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: [20, 22, 24] | ||
| 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@v4 | ||
| - name: Setup Node.js | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| cache: 'npm' | ||
| - name: Install Prettier and Plugins | ||
| - run: | | ||
| npm install prettier@3.5 @ianvs/prettier-plugin-sort-imports --no-save | ||
| - name: Run Prettier Check | ||
| - run: | | ||
| npx prettier --check js/sign/ --ignore-unknown --ignore-path js/sign/.prettierignore | ||
| npx prettier --check js/bundle/ --ignore-unknown --ignore-path js/bundle/.prettierignore | ||