From 508003d9d37508b87dbbc03dcba47d048fdaa57e Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Tue, 29 Mar 2022 16:07:02 -0700 Subject: [PATCH] chore: Add ci.yml workflow --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 0000000..a91dbfa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: 'npm' + - run: npm ci + - run: npm run all + - name: Release + if: github.ref_name == 'master' + run: npx semantic-release