Merge pull request #5138 from rancher-sandbox/rddepman/dockerCLI/24.0… #11648
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: | |
push: {} | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.18' | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint:nofix | |
- name: Install shfmt | |
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.6.0 | |
- run: make -C bats lint | |
- run: npm test |