From 75c389a08a4aee4514a35d0e0864f05689b45417 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 15 Sep 2023 13:07:59 -0700 Subject: [PATCH] [Tests] add `executable` action --- .github/workflows/executable.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/executable.yml diff --git a/.github/workflows/executable.yml b/.github/workflows/executable.yml new file mode 100644 index 0000000..18f9b81 --- /dev/null +++ b/.github/workflows/executable.yml @@ -0,0 +1,16 @@ +name: resolve executable + +on: [push, pull_request] + +jobs: + _: + name: cli + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + - run: "[ $(npx resolve fs) = 'fs' ]" + - run: "[ $(./bin/resolve fs) = 'fs' ]" + - run: "npm link && [ $(resolve fs) = 'fs' ]" \ No newline at end of file