Remove Commit version bump in different branch step #12
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 Opened | |
on: | |
pull_request: | |
types: [ opened ] | |
branches: | |
- main | |
defaults: | |
run: | |
working-directory: ./krait-ui | |
env: | |
NODE_VERSION: '20.16.0' | |
PHP_VERSION: '8.2.22' | |
jobs: | |
run-tests: | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run Prettier Check | |
run: npm run prettier | |
- name: Build | |
run: npm run build |