diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36aa71d8..6d947cc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,11 +33,14 @@ jobs: run: npm run compile-prod - name: Run Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Extract branch name shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT id: extract_branch - name: Preview semantic-release version diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ef442598..be6345b6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -35,8 +35,11 @@ jobs: - name: Create Build run: npm run compile-prod - - name: Run Coverage - uses: codecov/codecov-action@v2 + - name: Coverage + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false - name: Release Package env: diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 00000000..7e7f442b --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,16 @@ +# This file records information about this repo. Its use is described in OEP-55: +# https://open-edx-proposals.readthedocs.io/en/latest/processes/oep-0055-proc-project-maintainers.html + +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: 'cookie-policy-banner' + description: "The openedx cookie policy banner React component" + links: + - url: "https://github.com/openedx/frontend-component-cookie-policy-banner/blob/master/README.md" + title: "Documentation" + icon: "Web" +spec: + owner: group:cookie-policy-banner-maintainers + type: 'library' + lifecycle: 'production'