Skip to content

Commit 624b587

Browse files
committed
chore: remove v4 prerelease script from actions
1 parent c51e3f0 commit 624b587

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

.github/workflows/ci.yml

-45
Original file line numberDiff line numberDiff line change
@@ -350,48 +350,3 @@ jobs:
350350
run: npx lerna publish --loglevel=verbose --canary --exact --force-publish --yes
351351
env:
352352
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
353-
354-
# TODO - delete this before merging v4 into master
355-
publish_v4_prerelease_version:
356-
name: Publish the latest code as a v4 prerelease version
357-
runs-on: ubuntu-latest
358-
needs: [typecheck, test_on_primary_node_version, unit_tests_on_other_node_versions, linting_and_style, integration_tests]
359-
if: github.ref == 'refs/heads/v4'
360-
steps:
361-
- uses: actions/checkout@v2
362-
# Fetch all history for all tags and branches in this job because lerna needs it
363-
- run: |
364-
git fetch --prune --unshallow
365-
366-
- name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }}
367-
uses: actions/setup-node@v1
368-
with:
369-
node-version: ${{ env.PRIMARY_NODE_VERSION }}
370-
registry-url: https://registry.npmjs.org/
371-
372-
- name: Get yarn cache directory path
373-
id: yarn-cache-dir-path
374-
run: echo "::set-output name=dir::$(yarn cache dir)"
375-
376-
- uses: actions/cache@v1
377-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
378-
with:
379-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
380-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
381-
restore-keys: |
382-
${{ runner.os }}-yarn-
383-
384-
- name: Install dependencies
385-
run: |
386-
yarn --ignore-engines --frozen-lockfile --ignore-scripts
387-
yarn lerna:init
388-
yarn check:clean-workspace-after-install
389-
390-
- name: Build
391-
run: |
392-
yarn build
393-
394-
- name: Publish all packages to npm
395-
run: npx lerna publish premajor --loglevel=verbose --canary --exact --force-publish --yes --dist-tag rc-v4
396-
env:
397-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)