diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e94f6b7ed8..454772d6bf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,6 +51,49 @@ jobs: run: | ./scripts/test + test-plugins: + name: Plugins Runtime Linter & Tests + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node + id: setup-node + uses: actions/setup-node@v6 + with: + node-version-file: .nvmrc + cache: npm + + - name: Install deps + working-directory: ./plugins + run: npm ci + shell: bash + + - name: Run Lint + working-directory: ./plugins + run: npm run lint + + - name: Run Format Check + working-directory: ./plugins + run: npm run format:check + + - name: Run Test + working-directory: ./plugins + run: npm run test + + - name: Build runtime + working-directory: ./plugins + run: npm run build + + - name: Build plugins + working-directory: ./plugins + run: npm run build:plugins + + - name: Build styles + working-directory: ./plugins + run: npm run build:styles-example + test-frontend: name: "Frontend Tests" runs-on: ubuntu-24.04 diff --git a/.nvmrc b/.nvmrc index 2c6984e946..c6a66a6e6a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22.19.0 +v22.21.1 diff --git a/plugins/.nvmrc b/plugins/.nvmrc deleted file mode 100644 index 7bceec795e..0000000000 --- a/plugins/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -v22.2.0