[feature559/qa] 2주년 기념 픽픽픽 리뉴얼건 QA #1071
Workflow file for this run
This file contains hidden or 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: TestCode test | |
| on: pull_request | |
| jobs: | |
| build-test: | |
| name: Next testcode test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Create .env file | |
| run: | | |
| jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env | |
| env: | |
| SECRETS_CONTEXT: ${{ toJson(secrets) }} | |
| - name: Install Dependencies | |
| run: npm install -g pnpm | |
| - run: pnpm install | |
| - name: Run TestCode | |
| run: pnpm test |