-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3466909
commit 98ea92a
Showing
3 changed files
with
103 additions
and
119 deletions.
There are no files selected for viewing
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,11 @@ | ||
name: Setup | ||
runs: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- run: ls -al |
This file was deleted.
Oops, something went wrong.
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,92 @@ | ||
name: Build/Test on PR | ||
|
||
on: | ||
pull_request: | ||
branches: ['chore/224-express-directory'] | ||
|
||
env: | ||
EXPRESS_ENV_FILE: ${{ secrets.EXPRESS_ENV_FILE }} | ||
|
||
jobs: | ||
call-hello: | ||
uses: ./.github/workflows/setup.yml | ||
|
||
hello: | ||
runs-on: ubuntu-latest | ||
needs: call-hello | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- run: echo ${{ needs.call-hello.outputs.a }} ${{ needs.call-hello.outputs.b }} | ||
|
||
action-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ./.github/actions/setup.yml | ||
- run: ls -al | ||
|
||
build-react: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- run: yarn | ||
- run: yarn web build | ||
build-express: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- run: yarn | ||
- run: yarn slack build | ||
build-api-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- run: yarn | ||
- run: yarn api-docs build | ||
test-express: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- name: Setting .env | ||
run: | | ||
echo "${{ secrets.EXPRESS_ENV_FILE }}" >> .env | ||
mv .env packages/slack/.env | ||
cat packages/slack/.env | ||
- run: yarn | ||
- run: yarn slack test |