From dd2812a3e417cafc34950205e38243db3dd680fa Mon Sep 17 00:00:00 2001 From: Murage Date: Fri, 12 May 2023 21:27:50 +0300 Subject: [PATCH] Revert "Fix/test actions" --- .github/workflows/release.yml | 1 + .releaserc.json | 1 + README.md | 2 +- src/h5p.d.ts | 7 ------- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3ba4e21..610444f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: uses: cycjimmy/semantic-release-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} with: extra_plugins: | @semantic-release/changelog diff --git a/.releaserc.json b/.releaserc.json index 521bcf36..c5c3b1d6 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -18,6 +18,7 @@ "message": "chore(release): ${nextRelease.version} [skip ci]" } ], + "@semantic-release/npm", [ "@semantic-release/github", { diff --git a/README.md b/README.md index 3c3e8397..4c3c247e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# H5P Standalone Player ![GitHub release (latest by date)](https://img.shields.io/github/v/release/tunapanda/h5p-standalone?color=00a928&display_name=tag&label=Latest&style=flat-square) ![Release](https://github.com/tunapanda/h5p-standalone/actions/workflows/release.yml/badge.svg) +# H5P Standalone Player 3.x [![CircleCI](https://circleci.com/gh/tunapanda/h5p-standalone.svg?style=svg)](https://circleci.com/gh/tunapanda/h5p-standalone) Display H5P content without the need for an H5P server ## Installation diff --git a/src/h5p.d.ts b/src/h5p.d.ts index 44132d70..ab54b1e6 100644 --- a/src/h5p.d.ts +++ b/src/h5p.d.ts @@ -47,10 +47,6 @@ export interface H5PIntegration { contents: { [key: `cid-${string}`]: H5PContent } } -/** - * User interface - * - */ export interface User { name: string; mail: string; //unique user email @@ -58,9 +54,6 @@ export interface User { canToggleViewOthersH5PContents?: 0 | 1; } -/** - * H5P content types - */ export interface H5PContent { title: string; //content title url: string; //content URI (absolute + canonical) used to generate xAPI statement.object.id