mirror of
https://gitee.com/actions-mirror/checkout.git
synced 2024-11-23 23:00:41 +08:00
23 lines
412 B
Markdown
23 lines
412 B
Markdown
# 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
|
|
steps:
|
|
- 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)
|