From 029c704621049018a122943535384fb0cdbccb8e Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Mon, 22 Jul 2024 19:59:36 +0100 Subject: [PATCH] Move `build` to `ci` (#61) --- .github/workflows/{build.yml => ci.yml} | 12 +++++++++--- README.md | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) rename .github/workflows/{build.yml => ci.yml} (72%) diff --git a/.github/workflows/build.yml b/.github/workflows/ci.yml similarity index 72% rename from .github/workflows/build.yml rename to .github/workflows/ci.yml index 4889d4f..19a2646 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ --- -name: Build +name: CI "on": push: @@ -11,8 +11,8 @@ name: Build workflow_dispatch: {} jobs: - build: - name: Build + ci: + name: CI runs-on: ubuntu-22.04 @@ -25,3 +25,9 @@ jobs: with: no-cache: true platforms: linux/amd64,linux/arm64 + + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + + - name: CI + run: npm run dist diff --git a/README.md b/README.md index f5ffcf5..4db6216 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# dogstatsd-2-statsd [![Build][build-img]][build] [![Lint][lint-img]][lint] +# dogstatsd-2-statsd [![CI][ci-img]][ci] [![Lint][lint-img]][lint] -[build-img]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/build.yml/badge.svg -[build]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/build.yml +[ci-img]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/ci.yml/badge.svg +[ci]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/ci.yml [lint-img]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/lint.yml/badge.svg [lint]: https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd/actions/workflows/lint.yml