21 lines
677 B
YAML
21 lines
677 B
YAML
name: Test
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Get code
|
|
uses: actions/checkout@v3
|
|
# NPM Install is not needed as Custom JS Actions require the node_modules folder commited in the repository
|
|
#- name: NPM Install
|
|
# run: npm ci
|
|
- name: Test Custom JS Action (Print Fibonacci Numbers)
|
|
id: fibo
|
|
uses: https://gitea.coursow.de/Test-Playground/actions-custom-js@master
|
|
with:
|
|
iterations: 8
|
|
- name: Show last Printed Number
|
|
run: echo "The Last fibonacci number printed by the previous step was: ${{ steps.fibo.outputs.lastNumber }}"" |