Skip to content
check

GitHub Action

Test file system

v0.0.2 Latest version

Test file system

check

Test file system

Test the existence of set of files in the filesystem

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Test file system

uses: BorjaOuterelo/test-file-system-action@v0.0.2

Learn more about this action in BorjaOuterelo/test-file-system-action

Choose a version

Test the existence of set of files in the filesystem

If you want to test for the existence of files in the filesystem you can use this TypeScript based action. It is usefull whether you want to test for generated files or for the existence of dependencies.

Usage

This Action checks the existence of a list of files in your environment

name: Test Files 
on:
  pull_request

jobs:
  test_job:
    runs-on: ubuntu-latest
    steps:
      - name: Check_files 
        uses: BorjaOuterelo/test-file-system-action@v0.0.1
        with:
            path: '<your path>'
            files: 'file.txt,../secondfile.a'