Skip to content

Update testScript.yml #3

Update testScript.yml

Update testScript.yml #3

Workflow file for this run

name: File Tree Workflow
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_VERSION: 20.10.0
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run File Tree Action
uses: stanley-ju/script_demo@main
with:
path: './'