diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml deleted file mode 100644 index c51f6bd4669..00000000000 --- a/.github/workflows/Nightly.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Release Nightly - -on: - push: - branches: - - main - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -jobs: - release: - name: Release Nightly - runs-on: ubuntu-latest - # To use Remote Caching, uncomment the next lines and follow the steps below. - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - steps: - - name: Checkout Repo - uses: actions/checkout@v2 - - - name: Setup Node.js environment - uses: actions/setup-node@v2 - with: - node-version: 16 - - - name: Install Dependencies - run: yarn - - - name: Create an .npmrc - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - cat << EOF > "$HOME/.npmrc" - //registry.npmjs.org/:_authToken=$NPM_TOKEN - EOF - - - name: Publish Nightly version to NPM - run: yarn ci:release:nightly - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index cdd4d5d4e72..64c9cd053e9 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -36,3 +36,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Publish Nightly version to NPM + run: yarn ci:release:nightly + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + +