Skip to content

Commit

Permalink
Merge pull request #3 from markussiebert/feat/improve-github-actions
Browse files Browse the repository at this point in the history
feat(CI): Improve github actions
  • Loading branch information
markussiebert authored Apr 8, 2022
2 parents 5ddea99 + e2dfd7f commit c6b5e0b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ fixme.forEach((wf) => {
container: { image: 'jsii/superchain:1-buster-slim-node16' },
};
}
wf.jobs[key] = { ...wf.jobs[key], needs: 'zipper' };
wf.jobs[key] = {
...wf.jobs[key],
needs: [...(wf.jobs[key].needs || []), 'zipper'],
};
});
wf.addJob('gobuild', {
name: 'gobuild',
Expand Down
5 changes: 5 additions & 0 deletions scripts/lambda-test-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

BASEPATH=$(git rev-parse --show-toplevel)
cd "$BASEPATH/lambda"
UPDATE_SNAPS=true go test -v
5 changes: 5 additions & 0 deletions scripts/lambda-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

BASEPATH=$(git rev-parse --show-toplevel)
cd "$BASEPATH/lambda"
UPDATE_SNAPS=true go test -v

0 comments on commit c6b5e0b

Please sign in to comment.