Skip to content

Commit

Permalink
pc - update for f24
Browse files Browse the repository at this point in the history
  • Loading branch information
pconrad committed Oct 24, 2024
1 parent cd0850e commit 11a367c
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/99-team03.yml → .github/workflows/99-team02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ name: 99 - Create Issues for team02
env:
GH_TOKEN: ${{ github.token }}
ASN_LINK: https://ucsb-cs156.github.io/f24/lab/team02
STARTER_REPO: "ucsb-cs156-f24/STARTER-team02"
FRONTEND_URL: "{ \"UCSBDiningCommonsMenuItem\": \"diningcommonsmenuitem\", \"UCSBOrganization\": \"ucsborganization\", \"RecommendationRequest\": \"recommendationrequest\", \"MenuItemReview\": \"menuitemreview\", \"HelpRequest\": \"helprequest\", \"Articles\": \"articles\" }"
FIXTURES: "{ \"UCSBDiningCommonsMenuItem\": \"ucsbDiningCommonsMenuItem\", \"UCSBOrganization\": \"ucsbOrganization\", \"RecommendationRequest\": \"recommendationRequest\", \"MenuItemReview\": \"menuItemReview\", \"HelpRequest\": \"helpRequest\", \"Articles\": \"articles\" }"
LABEL_COLOR: "{ \"UCSBDiningCommonsMenuItem\": \"ff0000\", \"UCSBOrganization\": \"00ff00\", \"RecommendationRequest\": \"0000ff\", \"MenuItemReview\": \"ff00ff\", \"HelpRequest\": \"ffff00\", \"Articles\": \"00ffff\" }"
REPO_FILE: https://github.com/${{github.repository}}/blob/main
NVM_USE: "`nvm use 20.17.0`"
on:
workflow_dispatch:
jobs:
createOneOffIssues:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Delete label setup
continue-on-error: true
run: |
Expand Down Expand Up @@ -69,10 +71,11 @@ jobs:
- [ ] Github Pages is active, using the `gh-pages` branch and the root directory
- [ ] The main page of the repo has a link to the Github Pages site in the right side bar
- [ ] The links on the Github Pages site work properly.
- [ ] A `PROJECT_CHROMATIC_TOKEN` value is set correctly for the team's repo (this only needs to be done once)
# Details
See the file [`docs/github-pages.md`](/ucsb-cs156-f24/STARTER-team02/blob/main/docs/github-pages.md) in the repo for details
See the file [`docs/github-pages.md`](/${{env.STARTER_REPO}}/blob/main/docs/github-pages.md) in the repo for details
- name: Set up Team prod deployment
uses: dacbd/create-issue-action@main
Expand All @@ -99,7 +102,7 @@ jobs:
# Details
See the file [`docs/dokku.md`](/ucsb-cs156-f24/STARTER-team02/blob/main/docs/dokku.md) in the repo for details.
See the file [`docs/dokku.md`](/${{env.STARTER_REPO}}/blob/main/docs/dokku.md) in the repo for details.
- name: Set up Team qa deployment
uses: dacbd/create-issue-action@main
Expand Down Expand Up @@ -129,7 +132,7 @@ jobs:
# Details
Set up a separate Dokku instance for QA. Adapt the instructions from
the file [`docs/dokku.md`](/ucsb-cs156-f24/STARTER-team02/blob/main/docs/dokku.md) in the repo. The QA (quality assurance) instance
the file [`docs/dokku.md`](/${{env.STARTER_REPO}}/blob/main/docs/dokku.md) in the repo. The QA (quality assurance) instance
starts with the main branch, but later on, you will be able to deploy
any branch to this instance. You typically do this when you have a PR
that is being code reviewed. You can use the your team's Slack channel
Expand All @@ -144,7 +147,7 @@ jobs:
labels: "setup"
body: |
## Acceptance criteria
- [ ] The title of the README.md file is changed from `STARTER-team02` to the name of the app (e.g. `team02-f24-6pm-4`)
- [ ] The title of the README.md file is changed from `STARTER-team02` to the name of the app (e.g. `team02-f24-05`)
- [ ] The README.md file is updated with links to the prod and qa instances on dokku.
- [ ] The README.md file is updated with any other links as specified in the instructions.
Expand Down Expand Up @@ -193,7 +196,7 @@ jobs:
]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Delete Label for ${{ matrix.api }}
continue-on-error: true
env:
Expand Down Expand Up @@ -479,7 +482,9 @@ jobs:
* It also illustrates how we can create a component that can be reused, in this
case for both creating and editing a database record.
Reminders (all from `frontend` directory):
# Reminders (all from `frontend` directory):
* Always start by setting your node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down Expand Up @@ -551,6 +556,7 @@ jobs:
# Reminders (all from `frontend` directory):
* Always start by setting the node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down Expand Up @@ -675,7 +681,8 @@ jobs:
}
```
# Reminders (all from `frontend` directory):
* Always start by setting your node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down Expand Up @@ -756,6 +763,7 @@ jobs:
# Reminders (all from `frontend` directory):
* Always start by setting your node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down Expand Up @@ -840,8 +848,9 @@ jobs:
called `${{env.name}}IndexPage.stories.js` modelled after
the files `RestaurantIndexPage.stories.js` and `UCSBDatesIndexPage.stories.js`.
# Reminders (all from `frontend` directory):
# Reminders (all in `frontend` directory)
* Always start by setting your node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down Expand Up @@ -917,7 +926,8 @@ jobs:
the files `RestaurantEditPage.stories.js` and/or `UCSBDatesEditPage.stories.js`.

# Reminders (all from `frontend` directory):


* Always start by setting the node version with ${{env.NVM_USE}}
* To run storybook locally: `npm run storybook`.
* To run tests locally: `npm test`.
* Quickly test coverage locally: `npm run coverage`
Expand Down

0 comments on commit 11a367c

Please sign in to comment.