Skip to content

[APPEX-351] Migrate to granular NPM token (#112) #128

[APPEX-351] Migrate to granular NPM token (#112)

[APPEX-351] Migrate to granular NPM token (#112) #128

Workflow file for this run

name: Build
on:
push:
branches:
- main
- v1.X
pull_request:
branches:
- main
- v1.X
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
run-build:
name: Run build
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Check out git repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Set up Node.js
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: lts/*
cache: "yarn"
- name: Install yarn dependencies
run: yarn install
- name: Build
run: yarn build