name: "Setup project" runs: using: "composite" steps: - uses: actions/setup-dotnet@v3 with: dotnet-version: "7.0.x" - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0 with: versionSpec: "5.x" - name: Determine Version uses: gittools/actions/gitversion/execute@v0 id: version - name: Use the version run: | echo SZ_VERSION="${{ steps.version.outputs.AssemblySemFileVer }}" >> $GITHUB_ENV echo SZ_VERSION_NAME="${{ steps.version.outputs.InformationalVersion }}" >> $GITHUB_ENV - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install with: version: 7 run_install: false - uses: actions/setup-node@v3 with: node-version: "16" cache: "pnpm" - name: Install dependencies run: pnpm install - name: Linter run: pnpm lint