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
@@ -15,6 +15,12 @@ Install GitHub Actions Toolkit with [Spago](https://github.com/purescript/spago)
15
15
spago install github-actions-toolkit
16
16
```
17
17
18
+
You will also need to install the npm packages for any bindings that you are using. For example, if you use functions exported from `GitHub.Actions.Core`, then you need to install the `@actions/core` npm package:
19
+
20
+
```sh
21
+
npm install @actions/core
22
+
```
23
+
18
24
## Quick start
19
25
20
26
An Action is an `action.yml` file pair with a Node script.
@@ -41,7 +47,7 @@ Use `which` to check that a tool is installed, and set the job to failed if it i
41
47
```purescript
42
48
main :: Effect Unit
43
49
main = do
44
-
result <- runExcaptT (IO.which { tool: "spago", check: true })
50
+
result <- runExceptT (IO.which { tool: "spago", check: true })
45
51
case result of
46
52
Left err ->
47
53
Core.error "spago not found"
@@ -82,14 +88,14 @@ For a usage example, see the [Hello World PureScript Action template](https://gi
82
88
83
89
If you get stuck, there are several ways to get help:
84
90
85
-
-[Open an issue](https://github.com/colinwahl/purescript-github-actions-toolkit/issues) if you have encountered a bug or problem.
91
+
-[Open an issue](https://github.com/purescript-contrib/purescript-github-actions-toolkit/issues) if you have encountered a bug or problem.
86
92
-[Search or start a thread on the PureScript Discourse](https://discourse.purescript.org) if you have general questions. You can also ask questions in the `#purescript` and `#purescript-beginners` channels on the [Functional Programming Slack](https://functionalprogramming.slack.com) ([invite link](https://fpchat-invite.herokuapp.com/)).
87
93
88
94
## Contributing
89
95
90
96
You can contribute to GitHub Actions Toolkit in several ways:
91
97
92
-
1. If you encounter a problem or have a question, please [open an issue](https://github.com/colinwahl/purescript-github-actions-toolkit/issues). We'll do our best to work with you to resolve or answer it.
98
+
1. If you encounter a problem or have a question, please [open an issue](https://github.com/purescript-contrib/purescript-github-actions-toolkit/issues). We'll do our best to work with you to resolve or answer it.
93
99
94
100
2. If you would like to contribute code, tests, or documentation, please [read the contributor guide](./.github/CONTRIBUTING.md). It's a short, helpful introduction to contributing to this library, including development instructions.
0 commit comments