Skip to content

Update dependency eslint-config-prettier to v10 #124

Update dependency eslint-config-prettier to v10

Update dependency eslint-config-prettier to v10 #124

Workflow file for this run

name: CI/CD
on:
- push
- pull_request
jobs:
pre_job:
# see https://github.com/marketplace/actions/skip-duplicate-actions
# prevents duplicate workflow runs when they get triggered by e.g. `push`
# and `pull_request` events
runs-on: blacksmith-4vcpu-ubuntu-2204
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5.3.1
with:
concurrent_skipping: same_content_newer
ci-cd:
# annoyingly, reusable workflows have to be in .github/workflows, either of
# the local repo or a shared repo. There's literally no way of referencing
# a reusable workflow in another folder, maing it impossible to use shared
# workflows in subfolders (i.e. subrepos like we have.) Symlinks do not
# work (GH does not follow them) so we are left referencing the
# shared-fvtt-bits repo like this. See this discussion:
# https://github.com/orgs/community/discussions/9050
# Reusable workflows docs:
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
uses: lumphammer/gh-actions/.github/workflows/ci-cd-reusable.yml@2024-11-24.2
needs: pre_job
# skip the job is it a duplicate, but not if it's a tag (we always want to
# make sure we build a tag so we get a release.)
if: needs.pre_job.outputs.should_skip != 'true' || github.ref_type == 'tag'
permissions:
contents: write
with:
package_id: "louder-whispers"
manifest_file_name: "module.json"
foundry_package_release: true
release_to_bucket: false
runs_on: blacksmith-4vcpu-ubuntu-2204
secrets:
FOUNDRY_PACKAGE_RELEASE_TOKEN: ${{secrets.FOUNDRY_PACKAGE_RELEASE_TOKEN}}