Skip to content

Merge pull request #23 from willnode/dependabot/github_actions/docker… #77

Merge pull request #23 from willnode/dependabot/github_actions/docker…

Merge pull request #23 from willnode/dependabot/github_actions/docker… #77

Workflow file for this run

---
name: Test
on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
push:
branches:
- main
jobs:
test:
name: 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 Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.1.2'
- name: Set up Go
uses: actions/setup-go@v5
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: Unit Test
run: bun test
- name: Integrated Test
run: env PATH=${PATH}:`go env GOPATH`/bin npm test