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
Thank you for contributing! This action is targetted around setting up the dotnet cli and related sdks for GitHub actions. As part of that we use proxy settings (for self-hosted runners) and set-up nuget authentication for private feeds.
3
4
4
-
# Checkin
5
+
If you would like to contribute there are a few things to consider:
5
6
6
-
- Do checkin source (src)
7
-
- Do checkin build output (lib)
8
-
- Do checkin runtime node_modules
9
-
- Do not checkin
7
+
## Commands to use
10
8
11
-
# Adding a dev dependency
9
+
- npm run build - Compiles the action into a single js file at dist/index.js (Please check in the changes made by this command)
10
+
- npm run test - Runs all tests under __tests__
11
+
- npm run format - Runs formatting required to pass the lint test (Please check in the changes made by this command)
12
+
- npm run update-installers - Updates the install-dotnet scripts in externals (Please check in the changes made by this command)
12
13
13
-
Remember to update .gitignore.
14
+
## To check in or not to check in
14
15
15
-
# Updating toolkit dependency
16
+
- Do check in source (src)
17
+
- Do check in index file (dist)
18
+
- Do check in updates to install-dotnet scripts (externals)
19
+
- Do not check in build output (lib)
20
+
- Do not check in runtime (node_modules)
16
21
17
-
Until released publically, update tgz packages in toolkit
22
+
## Writing tests
23
+
24
+
With any contribution please take time to consider how this can be tested to maintain high quality. Current tests can be found in the folder __tests__ for examples.
0 commit comments