From 38c555ffe825e08cd252af7a62bfaa5b7486f10a Mon Sep 17 00:00:00 2001 From: JDMathew Date: Fri, 6 Sep 2024 15:57:01 -0700 Subject: [PATCH] add action setup script --- .github/actions/setup/action.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/actions/setup/action.yml diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml new file mode 100644 index 00000000..8999e6fd --- /dev/null +++ b/.github/actions/setup/action.yml @@ -0,0 +1,19 @@ +name: Setup +description: Setup Build Step +inputs: + node-version: + required: true + default: '18.x' + +runs: + using: "composite" + steps: + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ inputs.node-version }} + cache: yarn + + - name: Install dependencies + shell: bash + run: yarn install