Skip to content

Commit dbc1bc0

Browse files
committed
remove redundant install job
1 parent 8e3a76c commit dbc1bc0

File tree

2 files changed

+18
-34
lines changed

2 files changed

+18
-34
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,14 @@ jobs:
3535
compression: 'gzip'
3636
clean-script: 'clean:remove-modules'
3737

38-
install:
39-
name: 'Install Dependencies'
40-
runs-on: ubuntu-latest
41-
steps:
42-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
43-
44-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
45-
with:
46-
node-version-file: '.nvmrc'
47-
cache: 'yarn'
48-
49-
- name: Install
50-
run: yarn install --immutable
51-
5238
build:
53-
needs: ['install']
5439
uses: './.github/workflows/build.yml'
5540

5641
test:
5742
needs: ['build']
5843
uses: './.github/workflows/test.yml'
5944

6045
lint:
61-
needs: ['install']
6246
runs-on: ubuntu-latest
6347
env:
6448
CYPRESS_INSTALL_BINARY: 0

.github/workflows/release-snapshot.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838
yarn install
3939
yarn build
4040
41-
- name: publish
42-
run: |
43-
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
44-
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
45-
46-
git_hash=$(git rev-parse --short "$GITHUB_SHA")
47-
current_branch=$(node -p -e "'${{ github.ref }}'.replace('refs/heads/', '')")
48-
49-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish "0.0.0-${git_hash}" \
50-
--exact \
51-
--no-push \
52-
--no-git-tag-version \
53-
--pre-dist-tag dev \
54-
--allow-branch ${current_branch}
55-
56-
env:
57-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
58-
NPM_CONFIG_PROVENANCE: true
41+
# - name: publish
42+
# run: |
43+
# git config user.email ${{ secrets.BOT_GIT_EMAIL }}
44+
# git config user.name ${{ secrets.BOT_GIT_USERNAME }}
45+
#
46+
# git_hash=$(git rev-parse --short "$GITHUB_SHA")
47+
# current_branch=$(node -p -e "'${{ github.ref }}'.replace('refs/heads/', '')")
48+
#
49+
# ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish "0.0.0-${git_hash}" \
50+
# --exact \
51+
# --no-push \
52+
# --no-git-tag-version \
53+
# --pre-dist-tag dev \
54+
# --allow-branch ${current_branch}
55+
#
56+
# env:
57+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
58+
# NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)