-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from zentered/fix/project-id
fix: package update, clarification about project id, additional test for project filtering
- Loading branch information
Showing
13 changed files
with
4,333 additions
and
8,522 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Integraton Test | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened] | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 'latest' | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
- run: pnpm install | ||
- run: pnpm build | ||
- name: End to End Test | ||
uses: ./ | ||
id: vercel_preview_url | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
with: | ||
vercel_project_id: prj_VGsbMBHmakJlktyjWghOGD41eJEL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Thanks to @coderbyheart | ||
# https://github.com/NordicSemiconductor/random-words-js/blob/saga/.github/workflows/update-repo-info.yaml | ||
|
||
name: Sync repository info from package.json | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.UPDATE_REPO_INFO_PAT }} | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'package.json' | ||
- '.github/workflows/update-repo-info.yaml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_repo_info: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Sync repository description | ||
run: gh repo edit --description "`cat package.json | jq -r '.description'`" | ||
|
||
- name: Sync repository topics | ||
run: cat package.json | jq '.keywords[]' | xargs -I'{}' gh repo edit | ||
--add-topic {} | ||
|
||
- name: Sync homepage | ||
run: gh repo edit --homepage "`cat package.json | jq -r '.homepage'`" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.