Skip to content

Commit

Permalink
add set node action
Browse files Browse the repository at this point in the history
  • Loading branch information
daryazata committed Apr 8, 2022
1 parent 1197314 commit 2bb0838
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/metrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Matrix

on: push

jobs:
node-version:
runs-on: ubuntu-latest
steps:
- name: Log Node Version
run: node -v
- uses: actions/setup-node@v1
with:
node-version: 10
- name: Log Node Version
run: node -v
3 changes: 3 additions & 0 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ on: [push]
jobs:
run-shell-command:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: echo a string
run: echo "hello yaml"
continue-on-error: true # all next steps will continue even if this will fail
timeout-minutes: 1
- name: multiple script
run: |
node -v
Expand Down

0 comments on commit 2bb0838

Please sign in to comment.