Skip to content

Add eslint and sort includes #692

Add eslint and sort includes

Add eslint and sort includes #692

Workflow file for this run

name: build

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 45, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory, (Line: 50, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory, (Line: 53, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
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