dunno #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # @see https://github.com/pnpm/action-setup | |
# name: bff & ui CI | |
# on: | |
# push: | |
# branches: [develop, deploy] | |
# pull_request: | |
# branches: [develop, deploy] | |
# jobs: | |
# install: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [19.x] | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - uses: pnpm/action-setup@v2 | |
# name: Install pnpm | |
# id: pnpm-install | |
# with: | |
# run_install: false | |
# - name: Get pnpm store directory | |
# id: pnpm-cache | |
# shell: bash | |
# run: | | |
# echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
# - uses: actions/cache@v3 | |
# name: Setup pnpm cache | |
# with: | |
# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
# restore-keys: | | |
# ${{ runner.os }}-pnpm-store- | |
# - name: Install dependencies | |
# run: pnpm install | |
# turbo-types: | |
# needs: install | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [19.x] | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - uses: pnpm/action-setup@v2 | |
# name: Install pnpm | |
# id: pnpm-install | |
# with: | |
# run_install: false | |
# - name: Get pnpm store directory | |
# id: pnpm-cache | |
# shell: bash | |
# run: | | |
# echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
# - uses: actions/cache@v3 | |
# name: Setup pnpm cache | |
# with: | |
# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
# restore-keys: | | |
# ${{ runner.os }}-pnpm-store- | |
# - name: Install dependencies | |
# run: pnpm install | |
# - name: turbo prettier, lint, type defs | |
# run: pnpm turbo types |