diff --git a/.github/dotnet/action.yaml b/.github/dotnet/action.yaml new file mode 100644 index 00000000..47858e0c --- /dev/null +++ b/.github/dotnet/action.yaml @@ -0,0 +1,10 @@ +name: dotnet setup +description: "base dotnet setup for project" +runs: + using: composite + steps: + - name: setup + id: setup-dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: "6.0.x" diff --git a/.github/npm/action.yaml b/.github/npm/action.yaml new file mode 100644 index 00000000..a35897e2 --- /dev/null +++ b/.github/npm/action.yaml @@ -0,0 +1,14 @@ +name: npm setup +description: "base npm setup for project" +runs: + using: composite + steps: + - name: setup dotnet + uses: ./.github/dotnet + - uses: actions/setup-node@v3 + with: + node-version: "lts/*" + - name: Run NPM install + shell: sh + run: npm ci + working-directory: ./src/Saunter.UI