diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 899403b..0fd2af5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -117,6 +117,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - - name: Markdown lint - run: docker run --rm --volume "$PWD:/md" itkdev/markdownlint markdownlint --ignore vendor '**/*.md' + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "::set-output name=dir::$(yarn cache dir)" + - name: Cache yarn packages + uses: actions/cache@v4 + id: yarn-cache + with: + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: Yarn install + uses: actions/setup-node@v2 + with: + node-version: '20' + - run: yarn install + - name: markdownlint + run: yarn coding-standards-check/markdownlint diff --git a/CHANGELOG.md b/CHANGELOG.md index fdfaafb..0311964 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] - 2025-07-03 + +- Added drupal 11 compatibility + ## [1.1.0] - 2025-03-11 - Added command for retrying jobs. diff --git a/os2web_audit.info.yml b/os2web_audit.info.yml index eae33c2..b48cf20 100644 --- a/os2web_audit.info.yml +++ b/os2web_audit.info.yml @@ -1,7 +1,7 @@ name: "OS2web Audit" description: 'OS2web Audit Module (log events in the system)' type: module -core_version_requirement: ^8 || ^9 || ^10 +core_version_requirement: ^8 || ^9 || ^10 || ^11 dependencies: - drupal:advancedqueue configure: os2web_audit.plugin_settings_local_tasks diff --git a/package.json b/package.json new file mode 100644 index 0000000..78d9f8e --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "devDependencies": { + "markdownlint-cli": "^0.32.2" + }, + "license": "MIT", + "private": true, + "scripts": { + "coding-standards-check/markdownlint": "yarn markdownlint --ignore LICENSE.md *.md", + "coding-standards-check": "yarn coding-standards-check/markdownlint", + "coding-standards-apply/markdownlint": "yarn markdownlint --fix --ignore LICENSE.md *.md", + "coding-standards-apply": "yarn coding-standards-apply/markdownlint" + } +}