diff --git a/.github/workflows/pl-api.yaml b/.github/workflows/pl-api.yaml index 3aaae944a..9a3471163 100644 --- a/.github/workflows/pl-api.yaml +++ b/.github/workflows/pl-api.yaml @@ -9,7 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest - name: Test for a successful build + name: Test for pl-api formatting strategy: matrix: node-version: [22.x] @@ -27,15 +27,10 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install deps - working-directory: ./packages/pl-api - run: yarn install --ignore-scripts + working-directory: . + run: pnpm install - name: Lint working-directory: ./packages/pl-api - run: yarn lint + run: pnpm lint - - name: Build - env: - NODE_ENV: production - working-directory: ./packages/pl-api - run: yarn build diff --git a/.github/workflows/pl-fe.yaml b/.github/workflows/pl-fe.yaml index 41969b041..5162af9ee 100644 --- a/.github/workflows/pl-fe.yaml +++ b/.github/workflows/pl-fe.yaml @@ -27,25 +27,31 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install deps - working-directory: ./packages/pl-fe - run: yarn install --ignore-scripts + working-directory: . + run: pnpm install - name: Lint working-directory: ./packages/pl-fe - run: yarn lint + run: pnpm lint + + - name: Build pl-api + env: + NODE_ENV: production + working-directory: ./packages/pl-api + run: pnpm build - name: Build env: NODE_ENV: production working-directory: ./packages/pl-fe - run: yarn build + run: pnpm build - name: i18n working-directory: ./packages/pl-fe run: | - yarn i18n + pnpm i18n git diff - git diff --quiet || (echo "Locale files are out of date. Please run \`yarn i18n\`" && exit 1) + git diff --quiet || (echo "Locale files are out of date. Please run \`pnpm i18n\`" && exit 1) - name: Upload artifact uses: actions/upload-artifact@v4 @@ -62,14 +68,10 @@ jobs: NODE_ENV: production working-directory: ./packages/pl-fe run: | - WITH_LANDING_PAGE=true yarn build + WITH_LANDING_PAGE=true pnpm build cp dist/index.html dist/404.html cp pl-fe.zip dist/pl-fe.zip - - name: Install pl-api deps - working-directory: ./packages/pl-api - run: yarn install --ignore-scripts - - name: Build pl-api documentation working-directory: ./packages/pl-api run: npx typedoc diff --git a/.github/workflows/pl-hooks.yaml b/.github/workflows/pl-hooks.yaml index 844270ac0..ac9d2c239 100644 --- a/.github/workflows/pl-hooks.yaml +++ b/.github/workflows/pl-hooks.yaml @@ -27,15 +27,15 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install deps - working-directory: ./packages/pl-hooks - run: yarn install --ignore-scripts + working-directory: . + run: pnpm install - name: Lint working-directory: ./packages/pl-hooks - run: yarn lint + run: pnpm lint - name: build env: NODE_ENV: production working-directory: ./packages/pl-hooks - run: yarn build + run: pnpm build