You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: responses/dev-env.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,3 +8,43 @@ I find writing Actions to be easier from a local environment vs trying to do eve
8
8
9
9
If you do not have a preferred environment then I suggest following along with me exactly as you see on the screen, which means you'll need to install [Visual Studio Code](https://code.visualstudio.com/).
10
10
11
+
## Don't forget to set up your workstation 😉
12
+
13
+
Most of your work going forward will take place away from your Learning Lab repository, so before continuing with the course ensure you have the following installed on your **local machine**.
14
+
15
+
1.[Node.js](https://nodejs.org)
16
+
2.[Visual Studio Code](https://code.visualstudio.com/) or your editor of choice
17
+
3.[Git](https://git-scm.com/)
18
+
19
+
20
+
### :keyboard: Activity: Configure your environment
21
+
22
+
Now that you have all the necessary tools installed locally, follow these steps to ensure your environment is configured and ready for Actions.
23
+
24
+
1. Open the **Terminal** (Mac and Linux) or **Command Prompt** (Windows) on your local machine
25
+
2. Clone your Learning Lab repo to your local machine:
4. Create a new branch named `hello-world`. This is the branch we will use to write our first Action. **Please do not capitalize letters unless I do, I run case-sensitive checks to make sure I can help you along the way!**
6. Navigate to the `hello-world` folder you just created:
41
+
`cd .github/actions/hello-world`
42
+
7. Initialize the a new project with `npm init -y`
43
+
8. Install the **core** and **github** dependencies from the [GitHub ToolKit](https://github.com/actions/toolkit) by typing `npm install --save @actions/core @actions/github`
44
+
9. Commit those newly added files, including `node_modules`, we will remove the need to upload `node_modules` in a later step
45
+
10. Push you changes to your repository:
46
+
`git push -u origin hello-world`
47
+
11. Create a new pull request from the `hello-world` branch to `master` with the title of `Hello Actions`
48
+
- Take notice that the pull request name `Hello Actions` is case-sensitive
49
+
50
+
I will close this issue and continue responding to you in the `hello-actions` pull request once you have created it.
0 commit comments