Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas authored Sep 25, 2023
1 parent 669e227 commit a064bb8
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
build:
build_nodejs:
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -47,3 +47,37 @@ jobs:
ls ../
cp -R ../docker-modem ./node_modules/docker-modem
npm test
build_bun:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1

- name: Provisioning
run: |
docker --version
bun -v
docker pull ubuntu
pwd
cd ../
git clone --depth=50 --branch=master https://github.com/apocas/dockerode.git
cd dockerode
bun install
cd ../docker-modem
- name: Bun install
run: bun install

- name: Internal Tests
run: bun run test

- name: Dockerode Tests
run: |
cd ../dockerode
rm -rf ./node_modules/docker-modem
pwd
ls ../
cp -R ../docker-modem ./node_modules/docker-modem
bun run test

0 comments on commit a064bb8

Please sign in to comment.