Skip to content

Commit

Permalink
Prettier 3.0.2 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlansley committed Aug 16, 2023
1 parent 00ae2c1 commit f3817ea
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 24 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check-pr-reviews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ jobs:
checkPrReviews:
runs-on: ubuntu-latest
name: Check PR Reviews
strategy:
matrix:
node-version: [18.x]
steps:
- name: Perform Check of PR Reviews
uses: checkdigit/github-actions/check-pr-reviews@main
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/check-published-scheduled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Published

on:
workflow_dispatch:
schedule:
- cron: "30 20 * * *"

jobs:
checkPublished:
runs-on: ubuntu-latest
name: Check Published
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check Published
uses: checkdigit/github-actions/check-published@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
DEBUG: "*"
SLACK_PUBLISH_MISMATCH: ${{ secrets.SLACK_PUBLISH_MISMATCH }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,29 @@ jobs:
publishBeta:
runs-on: ubuntu-latest
name: Publish Beta
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
run: npm audit signatures
- name: Run Test
run: npm run test
run: npm run ci:test
- name: Prepare Beta
id: prepare-beta
uses: checkdigit/github-actions/prepare-beta@main
- name: Publish Beta
run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
- name: Comment
- name: Comment npm publish result
uses: checkdigit/github-actions/comment-npm-publish@main
with:
betaPackage: ${{ steps.prepare-beta.outputs.betaPackage }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
run: npm audit signatures
- name: Run Test
run: npm run test
run: npm run ci:test
- name: Publish
run: npm publish
env:
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ These versions of `@checkdigit/prettier` are currently being supported with secu

| Version | Supported |
| ------- | ------------------ |
| \>= 3.0 | :white_check_mark: |
| \< 3.0 | :x: |
| \>= 4.0 | :white_check_mark: |
| \< 4.0 | :x: |

## Reporting a Vulnerability

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@checkdigit/prettier-config",
"version": "4.0.0",
"version": "4.0.1",
"description": "Check Digit code formatting configuration",
"private": false,
"main": "index.json",
Expand All @@ -12,13 +12,12 @@
"scripts": {
"prettier": "prettier --ignore-path .gitignore --list-different .",
"prettier:fix": "prettier --ignore-path .gitignore --write .",
"postversion": "git push && git push --tags",
"test": "npm run prettier && prettier --version | grep -q '3.0.0'",
"ci:test": "npm test",
"test": "npm run ci:test",
"ci:test": "npm run ci:style && prettier --version | grep -q '3.0.2'",
"ci:style": "npm run prettier"
},
"peerDependencies": {
"prettier": "3.0.0"
"prettier": "3.0.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f3817ea

Please sign in to comment.