From 86d58f80c90ac5c8c0c35fb8c60ded67a9d886c2 Mon Sep 17 00:00:00 2001 From: Senji888 <44082144+Ben-Rey@users.noreply.github.com> Date: Fri, 3 Nov 2023 10:05:02 +0100 Subject: [PATCH] Test CI deploy dev --- .../workflows/workspace-npm-publish-dev.yml | 2 +- .github/workflows/workspace-powered-by.yml | 46 ------------------- scripts/publish-dev.sh | 4 +- 3 files changed, 3 insertions(+), 49 deletions(-) delete mode 100644 .github/workflows/workspace-powered-by.yml diff --git a/.github/workflows/workspace-npm-publish-dev.yml b/.github/workflows/workspace-npm-publish-dev.yml index c9b933707..7a9af8c65 100644 --- a/.github/workflows/workspace-npm-publish-dev.yml +++ b/.github/workflows/workspace-npm-publish-dev.yml @@ -2,7 +2,7 @@ name: (workspace) Npm nightly publish on: push: - branches: [main, buildnet] + branches: [test-ci] jobs: test: diff --git a/.github/workflows/workspace-powered-by.yml b/.github/workflows/workspace-powered-by.yml deleted file mode 100644 index 07de8b5a5..000000000 --- a/.github/workflows/workspace-powered-by.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: (workspace) Generate Powered-By -on: - push: - -jobs: - generate-powered-by: - runs-on: ubuntu-latest - - permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. - contents: write - - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - # Checkout code using massabot account - token: ${{ secrets.MASSABOTCLASSIC }} - - - name: Install node - uses: actions/setup-node@v3 - with: - node-version: 18 - registry-url: https://registry.npmjs.org - - - name: Install license-report and jq - run: | - sudo apt-get update -y && sudo apt-get install -y jq - sudo npm install -g license-report - - - name: Install project dependencies - run: | - npm ci - - - name: Generate Powered-By - run: | - ./scripts/generate_powered-by.sh - - - name: Commit Changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - token: ${{ secrets.MASSABOTCLASSIC }} - commit_message: "Generate powered-by" - file_pattern: "powered-by.md" - # Commit code using massabot account that can bypass push and MR restriction - commit_author: massabot diff --git a/scripts/publish-dev.sh b/scripts/publish-dev.sh index 6a403d381..73479cc6f 100755 --- a/scripts/publish-dev.sh +++ b/scripts/publish-dev.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e -npm ci -npm run build +npm ci --loglevel=silent +npm run build --loglevel=silent npm version --preid dev --no-git-tag-version --no-commit-hooks prepatch #Use timestamp as package suffix TIME=$(date -u +%Y%m%d%H%M%S)