Skip to content

Commit

Permalink
Test README
Browse files Browse the repository at this point in the history
add actions/checkout@v4
  • Loading branch information
Ruben Restrepo committed Jan 4, 2024
1 parent 5af5f75 commit 1fb1437
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/setup.yml → .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Setup
name: Nodejs Action

on:
workflow_dispatch:
Expand All @@ -8,9 +8,13 @@ jobs:
runs-on: ubuntu-latest
name: Action Test
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v4
- uses: stateful/runme-action@v2
with:
workflows: |
install
build
test
test
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,32 @@ A simple HTTP API, with the following available commands:
- build
- test


---
runme:
id: 01HJ6HRR8N3W4ZDXHWRQAW0CDR
version: v2.0
---

## runme:
id: 01HJ6HRR8N3W4ZDXHWRQAW0CDR
version: v2.0

# Basic HTTP Api example

## Install dependencies

```sh {"name":"install"}
```sh {"id":"01HJW094MYMBQS4E7525NWWK5K","name":"echo"}
echo test
```

```sh {"id":"01HJW05Z7S4PVXVV8JK83CK0C2","name":"install"}
npm i
```

## Build TypeScript

```sh {"name":"build"}
```sh {"id":"01HJW05Z7S4PVXVV8JK8E8D3ZV","name":"build"}
npm run build
```

## Run tests

```sh {"name":"test"}
```sh {"id":"01HJW05Z7S4PVXVV8JK8W3QFKE","name":"test"}
npm test
```
2 changes: 1 addition & 1 deletion nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ npm run build

```sh {"id":"01HJ6HTQA87DKZEW7FTY24YA3J","name":"test"}
npm test
```
```

0 comments on commit 1fb1437

Please sign in to comment.