From 97ccfa337a3ef709195c9162c8e8181425118866 Mon Sep 17 00:00:00 2001 From: Greg Huels Date: Mon, 1 Jul 2024 13:47:32 -0500 Subject: [PATCH] FF-2524 basic script running in CI --- .github/verify-package.sh | 6 ++++++ .github/workflows/verify-package.yml | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 .github/verify-package.sh create mode 100644 .github/workflows/verify-package.yml diff --git a/.github/verify-package.sh b/.github/verify-package.sh new file mode 100755 index 0000000..048ab41 --- /dev/null +++ b/.github/verify-package.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +echo 'hello world!' + +npm --version \ No newline at end of file diff --git a/.github/workflows/verify-package.yml b/.github/workflows/verify-package.yml new file mode 100644 index 0000000..c57e335 --- /dev/null +++ b/.github/workflows/verify-package.yml @@ -0,0 +1,17 @@ +name: Verify Package +on: + pull_request: + paths: + - '**/*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + - run: yarn install + - run: yarn test + - run: "${GITHUB_WORKSPACE}/.github/verify-package.sh"