2019-07-24 03:32:03 +08:00
|
|
|
# checkout
|
|
|
|
|
|
|
|
This action checks out your repository so that your workflow operates from the root of the repository
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
See [action.yml](action.yml)
|
|
|
|
|
|
|
|
Basic:
|
|
|
|
```yaml
|
|
|
|
actions:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
|
|
|
version: 10.x
|
|
|
|
- run: npm install
|
|
|
|
- run: npm test
|
|
|
|
```
|
|
|
|
|
|
|
|
# License
|
|
|
|
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|