Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to VERCEL (created from initial repo cloning) #51

Merged
merged 2 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/auto-git-release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ jobs:
echo "previous_commit: ${{steps.next_semantic_version.outputs.previous_commit}}"
echo "current_commit: ${{steps.next_semantic_version.outputs.current_commit}}"

- name: Creating Git release tag for the "v${{steps.next_semantic_version.outputs.version}}" version
run: |
gh release create v${{steps.next_semantic_version.outputs.version}} \
--title "v${{steps.next_semantic_version.outputs.version}}" \
--generate-notes \
--prerelease \
--target $GITHUB_SHA
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

# Check if the major version already exists (if it doesn't, we'll create it - if it does, we'll update it)
- name: Check if tag "v${{steps.next_semantic_version.outputs.major}}-rc" exists
uses: mukunku/tag-exists-action@v1.2.0
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run-integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Summary:
# Test the GitHub Action using an integration test.
# Makes sure the GitHub Action works properly when running on a clean machine, without building anything (integration test).
# This integration test will break if the Vercel project or deployment are deleted, or if the VERCEl_TOKEN doesn't have access to the deployment url.
#
# See https://github.com/actions/checkout https://github.com/actions/checkout/releases/tag/v3

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/update-codeclimate-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Installing node.js
uses: actions/setup-node@v3 # Used to install node environment - XXX https://github.com/actions/setup-node
with:
node-version: 18 # Use the same node.js version as the one Vercel's uses (currently node18.x)
node-version: 18
run-tests-coverage:
name: Run tests coverage and send report to Code Climate
runs-on: ubuntu-22.04
Expand All @@ -31,9 +31,6 @@ jobs:
run: yarn install
- uses: paambaati/codeclimate-action@v3.2.0
env:
# XXX Necessary for running tests properly (required). Do not generate the token from a Vercel account with actual production usage. (use a dummy account)
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # XXX Define this secret in "Github repo > Settings > Secrets", you can get it from Vercel at https://vercel.com/account/tokens
VERCEL_DOMAIN: ${{ secrets.VERCEL_DOMAIN }} # XXX Define this secret in "Github repo > Settings > Secrets", it should use a domain the VERCEL_TOKEN you provided has access to
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} # XXX Define this secret in "Github repo > Settings > Secrets", you can get it from Code Climate in "Repo settings > Test coverage".
with:
coverageCommand: yarn test:coverage