✨ Create Package #20
Workflow file for this run
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
name: PR Check | |
on: pull_request | |
jobs: | |
pr-check: | |
name: PR Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: "package.json" | |
cache: "pnpm" | |
- name: Get current branch | |
id: get_branch | |
run: echo "CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | |
- name: Display current branch | |
run: echo "Current branch is ${{ env.CURRENT_BRANCH }}" | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm p:core check | |
- run: pnpm build | |
- run: pnpm pg:vanilla-ts rlse:test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |