From 48a52b9ae58e5c60c9db5c80c01ff080173c0df3 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Tue, 10 Dec 2024 19:15:15 -0600 Subject: [PATCH] ci: more cleanup --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 14 +++----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e135d3e7..f3135c2f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,8 @@ jobs: with: rdme: openapi "oas-examples-repo/3.1/json/petstore.json" --key "${{ secrets.RDME_TEST_PROJECT_API_KEY }}" --id=${{ secrets.RDME_TEST_PROJECT_API_SETTING }} + # this is a test to ensure that the rdme github action can run properly + # the way that our users invoke it - name: E2E run of `openapi validate` on `next` branch uses: readmeio/rdme@next if: ${{ github.ref }} == 'refs/heads/next' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7de901613..593358d0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,19 +49,11 @@ jobs: github_token: ${{ secrets.RELEASE_GH_TOKEN }} branch: next - # quick assertion to validate that rdme CLI can be installed and run on ubuntu - postrelease: - name: Post-release checks - needs: release - runs-on: ubuntu-latest - if: ${{ github.ref }} == 'refs/heads/next' - steps: - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: lts/* + # quick assertion to validate that rdme CLI can be installed and run on ubuntu - name: Install `rdme` from npm + if: ${{ github.ref }} == 'refs/heads/next' run: npm install -g rdme@next - name: Print rdme CLI version + if: ${{ github.ref }} == 'refs/heads/next' run: rdme --version timeout-minutes: 1