Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
47 lines
862 B
YAML
47 lines
862 B
YAML
name: Release_Script_Test
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: scripts/release
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- patch-release
|
|
- next
|
|
paths:
|
|
- "scripts/release/**"
|
|
- ".github/workflows/release-script-test.yml"
|
|
pull_request:
|
|
paths:
|
|
- "scripts/release/**"
|
|
- ".github/workflows/release-script-test.yml"
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3.3.0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3.6.0
|
|
with:
|
|
node-version: "18"
|
|
cache: "yarn"
|
|
|
|
- name: Install Dependencies
|
|
run: yarn install --immutable
|
|
|
|
- name: Test
|
|
run: yarn test
|