Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

chore: upgrade projen #101

Merged
merged 1 commit into from
Mar 26, 2021
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: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: Synthesize project files
run: npx projen
- name: Anti-tamper check
run: git diff --exit-code
- name: Set git identity
run: |-
git config user.name "Auto-bump"
git config user.email "[email protected]"
- name: Build
run: npx projen build
- name: Anti-tamper check
run: git diff --exit-code
- name: Commit and push changes (if any)
run: 'git diff --exit-code || (git commit -am "chore: self mutation" && git push
origin HEAD:${{ github.event.pull_request.head.ref }})'
container:
image: jsii/superchain
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ jobs:
- name: Anti-tamper check
run: git diff --exit-code
- name: Push commits
run: git push origin $BRANCH
env:
BRANCH: ${{ github.ref }}
run: git push origin HEAD:${{ github.ref }}
- name: Push tags
run: git push --follow-tags origin $BRANCH
env:
BRANCH: ${{ github.ref }}
run: git push --follow-tags origin ${{ github.ref }}
- name: Upload artifact
uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .projen/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
{
"name": "projen",
"version": "^0.17.0",
"version": "^0.17.17",
"type": "build"
},
{
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"url": "https://github.com/eladb/cfunctions.git"
},
"scripts": {
"projen": "npx projen",
"start": "npx projen start",
"clobber": "npx projen clobber",
"compile": "npx projen compile",
"test:compile": "npx projen test:compile",
Expand All @@ -21,7 +19,9 @@
"package": "npx projen package",
"eslint": "npx projen eslint",
"compat": "npx projen compat",
"docgen": "npx projen docgen"
"docgen": "npx projen docgen",
"projen": "npx projen",
"start": "npx projen start"
},
"author": {
"name": "Elad Ben-Israel",
Expand All @@ -46,7 +46,7 @@
"jsii-docgen": "^1.4.114",
"jsii-pacmak": "^1.16.0",
"json-schema": "^0.2.5",
"projen": "^0.17.0",
"projen": "^0.17.17",
"standard-version": "^9",
"ts-jest": "^26.4.4",
"typescript": "^3.9.5"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4644,10 +4644,10 @@ progress@^2.0.0:
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==

projen@^0.17.0:
version "0.17.0"
resolved "https://registry.yarnpkg.com/projen/-/projen-0.17.0.tgz#9a7c6deff77a3a76f24abc0ccb6563f23eae6fb1"
integrity sha512-t8Vg7tXLPMqi7PPJPCIujzv6jD3hHrnSXwXjECJZBh0+zeAdFuu6H46ztIiu0I73h0QOTMfyRxlRoMn4YKtxoQ==
projen@^0.17.17:
version "0.17.17"
resolved "https://registry.yarnpkg.com/projen/-/projen-0.17.17.tgz#497333f5ab23dac13b600bdbdb686c97d230ee41"
integrity sha512-4Or7h/ABz2w7F9+0s7jGLi+aS7iV5im290fR/yz9PEsaHYro8+W3khFjUzNz3K93M0m5qBAN3Mp2rtaFYbg0SQ==
dependencies:
"@iarna/toml" "^2.2.5"
chalk "^4.1.0"
Expand Down