Skip to content

Update dependency @jakubmazanec/carson-templates to v5 #520

Update dependency @jakubmazanec/carson-templates to v5

Update dependency @jakubmazanec/carson-templates to v5 #520

#
# DO NOT EDIT!
# This file was autogenerated by Carson.
# Changes may cause incorrect behavior and will be lost when the file is regenerated.
#
# Run `npx carson update workspace` to regenerate.
#
name: Check pull request
on:
pull_request:
branches:
- development
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_pull_request:
name: Check pull request
if: ${{ github.actor != 'renovate[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
fetch-depth: 0
- name: Configure git
run: |
git config user.email "bot@mazanec.dev"
git config user.name "Bot"
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: edgedb/setup-edgedb@v1
with:
server-version: none
- name: Install packages
run: npm ci
- name: Check for changes
run: |
git config core.filemode false
git_status=$(git status --porcelain)
if [[ -n $git_status ]]; then
echo "You have uncommitted changes!"
git status
git config --unset core.filemode
exit 1
fi
git config --unset core.filemode
- name: Test
run: npm test -- --filter=!dram
- name: Test "dram"
run: |
npm run test -- --filter=dram
env:
EDGEDB_INSTANCE: jakubmazanec/whisky
EDGEDB_BRANCH: apps-${{ github.head_ref }}
EDGEDB_SECRET_KEY: ${{ secrets.JAKUBMAZANEC_WHISKY_EDGEDB_TOKEN }}
- name: Check for changes
run: |
git config core.filemode false
git_status=$(git status --porcelain)
if [[ -n $git_status ]]; then
echo "You have uncommitted changes!"
git status --porcelain
git config --unset core.filemode
exit 1
fi
git config --unset core.filemode
- name: Check for changesets
if: "github.actor != 'renovate[bot]'"
run: npx changeset status --since=origin/development