Skip to content

Bump @skyscanner/bpk-foundations-web from 17.9.0 to 17.11.0 (#77) #47

Bump @skyscanner/bpk-foundations-web from 17.9.0 to 17.11.0 (#77)

Bump @skyscanner/bpk-foundations-web from 17.9.0 to 17.11.0 (#77) #47

Workflow file for this run

name: Main
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
env:
CACHE_NAME: node-modules-cache
BUILD_CACHE_NAME: build-cache
jobs:
Create-NPM-Cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: 'https://registry.npmjs.org'
- name: Upload to Cache
uses: actions/[email protected]
id: npm-cache
with:
path: |
node_modules/
key: ${{ env.CACHE_NAME }}-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }}
run: npm ci
Build:
permissions:
statuses: write
pull-requests: write
needs: [Create-NPM-Cache]
uses: ./.github/workflows/_build.yml
secrets: inherit
ReleaseDraft:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: Draft release notes
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}