Skip to content

Update dependency @types/node to v20.11.22 #317

Update dependency @types/node to v20.11.22

Update dependency @types/node to v20.11.22 #317

name: create-deploy-pull-request
on:
pull_request:
paths:
- create-deploy-pull-request/**
- '*.json'
- .github/workflows/create-deploy-pull-request.yaml
push:
branches:
- main
paths:
- create-deploy-pull-request/**
- '*.json'
- .github/workflows/create-deploy-pull-request.yaml
defaults:
run:
working-directory: create-deploy-pull-request
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn test
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn build
- run: yarn package
- uses: ./create-deploy-pull-request
with:
head-branch: main
base-branch: create-deploy-pull-request--e2e-test--${{ github.run_number }}
title: E2E test of create-deploy-pull-request
body: E2E test of create-deploy-pull-request
- if: always()
run: git push origin --delete 'refs/heads/create-deploy-pull-request--e2e-test--${{ github.run_number }}'
continue-on-error: true