Skip to content

Commit

Permalink
Do not run scripts before npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Sep 29, 2022
1 parent c266729 commit 663c642
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,7 @@ jobs:
git_committer_email: ${{ secrets.GIT_USER_EMAIL }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Setup Go
uses: ./.github/actions/setup-go
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.49
args: --timeout 30m
- name: Test
run: make test
- name: Build
run: make
- name: Install Benthos to PATH
run: |
chmod 755 tmp/bin/benthos
echo "$(pwd)/tmp/bin" >> $GITHUB_PATH
- name: Cut ${{ github.event.inputs.version }}${{ github.event.client_payload.version }} version
run: npm version --sign-git-tag=true ${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"lint": "prettier --check --ignore-path .gitignore '**/*.(js|cjs|mjs|json|yaml|yml)'",
"build": "blobpack",
"prebuild": "del dist",
"preversion": "npm-run-all --parallel lint test --serial build sls:package",
"postversion": "git push --follow-tags",
"sls:package": "serverless package",
"sls:invoke": "serverless invoke local -f",
Expand Down

0 comments on commit 663c642

Please sign in to comment.