Less code nesting #27
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
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.22.1' | |
- name: Install pebble | |
run: go install github.com/letsencrypt/pebble/v2/cmd/[email protected] | |
- name: Install dnsserver | |
run: go install github.com/dlorch/dnsserver@latest | |
- name: Install deps | |
run: npm install | |
- name: Test | |
run: env PATH=${PATH}:`go env GOPATH`/bin npm test |