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

Commit f3039ab

Browse files
committed
create 14_action-three
1 parent be17e0f commit f3039ab

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

responses/14_action-three.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## {{user.login}} it's time to get ready for the third Action 🎉
2+
3+
As with the other Actions we wrote, we are going to need to setup a few directories and files.
4+
5+
### :keyboard: Activity: Configure your third Action
6+
7+
Let's create our final project directory and install all the necessary dependencies. We will take this a step further near the end of this Action and we will show you how to avoid needing to check in `node_modules`.
8+
9+
1. Open the **Terminal** (Mac and Linux) or **Command Prompt** (Windows) on your local machine and navigate to your course repo directory.
10+
2. Checkout the `master` branch
11+
`git checkout master`
12+
3. Update the contents of your Learning Lab repo to your local machine:
13+
`git pull`
14+
4. Checkout the `action-two` branch you created for this pull request.
15+
`git checkout action-three`
16+
5. Create a new folder for our Actions files:
17+
`mkdir -p .github/actions/issue-maker`
18+
6. Navigate to the `issue-maker` folder you just created:
19+
`cd .github/actions/issue-maker`
20+
7. Initialize a new project:
21+
`npm init -y`
22+
8. Install the **request** and **request-promise** dependencies using `npm`:
23+
`npm install --save @actions/core @actions/github`
24+
9. Commit those newly added files,we will remove the need to upload **node_modules** in a later step:
25+
`git add .`
26+
`git commit -m 'initial issue maker action'`
27+
10. Push you changes to your repository:
28+
`git push
29+
30+
---
31+
32+
I will respond once you have finished.

0 commit comments

Comments
 (0)