chore(deps): bump step-security/harden-runner from 2.7.0 to 2.9.1 #1068
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: Production:Pull Request CI / CD | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, synchronize , edited] | |
jobs: | |
build-test-deploy-prod: | |
runs-on: [self-hosted, Linux, medium, ephemeral] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Setup Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: '18' | |
- name: Install build tools | |
run: sudo apt-get update && sudo apt-get install -y make gcc g++ # Install make and other build tools | |
- name: Set up Yarn | |
run: npm install -g yarn | |
- name: Install Dependencies | |
run: yarn | |
- name: Check Format | |
run: yarn format | |
- name: Lint | |
run: yarn lint | |
- name: Build App | |
run: | | |
yarn build | |