From 4c4dbdc6250d907adc5cadab7ab2ce142e216213 Mon Sep 17 00:00:00 2001 From: arthurfiorette Date: Mon, 18 Sep 2023 17:12:22 -0300 Subject: [PATCH 1/5] ci --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..443d7f70 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Code CI + +on: + push: + pull_request: + +jobs: + build: + name: Build and test code + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Install packages + run: bun install + + - name: Test + run: bun test From 2ac9171fd39d1e2ecef9f270484138ddbfee3f10 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Mon, 18 Sep 2023 17:20:09 -0300 Subject: [PATCH 2/5] node tests --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 443d7f70..8c1f96be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,13 @@ jobs: with: bun-version: latest + - name: Setup node and restore cached dependencies + uses: actions/setup-node@v3 + with: + node-version: '20' + - name: Install packages run: bun install - name: Test - run: bun test + run: bun run test From 7039e55bfac62515209c5b9dee2a940fb97bf80f Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Mon, 18 Sep 2023 17:30:13 -0300 Subject: [PATCH 3/5] Create dependabot.yml --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..886beac6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: 'npm' + directory: './' + schedule: + interval: 'daily' + + - package-ecosystem: 'github-actions' + directory: './' + schedule: + interval: 'daily' From 9afe3f1149dd36d7b8fffe11d3b650b640f3a807 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Mon, 18 Sep 2023 17:30:31 -0300 Subject: [PATCH 4/5] Update ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c1f96be..e366f605 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,5 +26,8 @@ jobs: - name: Install packages run: bun install + - name: Build code + run: bun run build + - name: Test run: bun run test From 5f6e54f34228521262a19cac6dd819f1f750ac35 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Mon, 18 Sep 2023 17:41:41 -0300 Subject: [PATCH 5/5] Update ci.yml --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e366f605..877f4d3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,6 @@ jobs: with: bun-version: latest - - name: Setup node and restore cached dependencies - uses: actions/setup-node@v3 - with: - node-version: '20' - - name: Install packages run: bun install