From dbe2698bfaad4f300d3b49473deb4e8821fbac93 Mon Sep 17 00:00:00 2001 From: Taso Date: Tue, 6 Jul 2021 23:27:04 -0400 Subject: [PATCH] tweak(ci): add testing & general cleanup --- .github/dependabot.yml | 2 +- .github/workflows/build-docs.yaml | 2 ++ .github/workflows/master-ci.yaml | 2 ++ .github/workflows/publish.yml | 5 ++++- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b6fa6b8..a64bf4a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -version: 2 +version: 2s updates: - package-ecosystem: npm directory: "/" diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index b0dbbe5..097b4ff 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -30,6 +30,8 @@ jobs: node-version: '14.x' - name: Install dependencies run: yarn --frozen-lockfile + - name: Run Tests + run: yarn test - name: Build Docs run: npm run docs:build - name: Inject CName into Build diff --git a/.github/workflows/master-ci.yaml b/.github/workflows/master-ci.yaml index cebff51..0f5dc01 100644 --- a/.github/workflows/master-ci.yaml +++ b/.github/workflows/master-ci.yaml @@ -26,6 +26,8 @@ jobs: node-version: '14.x' - name: Install dependencies run: yarn --frozen-lockfile + - name: Run tests + run: yarn test - name: Start test build run: npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0b3f074..d71f5ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,6 +35,8 @@ jobs: node-version: '14.x' - name: Install dependencies run: yarn --frozen-lockfile + - name: Run tests + run: yarn test - name: Run build run: npm run build - name: Create Release @@ -77,7 +79,8 @@ jobs: node-version: '14.x' - name: Install dependencies run: yarn --frozen-lockfile - - run: echo "Tagged Version ${{ needs.tagged-release.outputs.VERSION_TAG }}" + - name: Run tests + run: yarn test - name: Publish NPM Package uses: JS-DevTools/npm-publish@v1 with: