Skip to content

Commit

Permalink
fix: correct build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dwmkerr committed Apr 5, 2022
1 parent 0ac904d commit f9a225c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

# Check typescript compiles properly.
- name: Check TypeScript
run: make typescript-check

# Fixup Git URLs, see:
# https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported
- name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "git://github.com/"' >> ~/.gitconfig

# Check typescript compiles properly.
- name: Check TypeScript
run: make typescript-check

# Run the build - this will fail if there are broken links etc.
- name: Build
run: make build
5 changes: 5 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
run: echo -e '[url "https://github.com/"]\n insteadOf = "git://github.com/"' >> ~/.gitconfig
if: ${{ steps.release.outputs.release_created }}

# Check typescript compiles properly.
- name: Check TypeScript
run: make typescript-check
if: ${{ steps.release.outputs.release_created }}

# Run the build - this will fail if there are broken links etc.
- name: Build
run: make build
Expand Down
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ typescript-check:
# folder as if we don't have them we should definitely not deploy.
.PHONY: build
build:
npx tsc # test for typescript types...
mkdir -p ./static/downloads
./scripts/build-samples.sh
cp ./artifacts/samples.zip ./static/downloads/effective-shell-samples.zip
Expand Down

0 comments on commit f9a225c

Please sign in to comment.