Skip to content

Commit

Permalink
fix(deps): bump deps and npm support
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSzewczyk committed Apr 18, 2024
1 parent 11bb066 commit fb734f8
Show file tree
Hide file tree
Showing 8 changed files with 6,386 additions and 4,201 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ updates:
directory: "/"
schedule:
interval: "monthly"
groups:
connect-dependencies:
patterns:
- "*"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
groups:
connect-dependencies:
patterns:
- "*"
12 changes: 6 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- name: Checkout code 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node 🟢
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: "npm"
- name: Install packages ⚙️
run: yarn install --frozen-lockfile
run: npm ci
- name: Prettier Check 🧹
run: yarn prettier:check
run: npm run prettier:check
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- name: Checkout code 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node 🟢
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: "npm"
- name: Install packages ⚙️
run: yarn install --frozen-lockfile
run: npm ci
- name: Publish package 🚀
run: yarn semantic-release
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
# Technologies

![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/JanSzewczyk/prettier-config/prettier-plugin-packagejson)
![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/JanSzewczyk/prettier-config/prettier-plugin-tailwindcss)

![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/JanSzewczyk/prettier-config/dev/prettier)
![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/JanSzewczyk/prettier-config/dev/semantic-release)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ module.exports = {
bracketSameLine: false,
printWidth: 120,

plugins: ["prettier-plugin-packagejson"]
plugins: ["prettier-plugin-packagejson", "prettier-plugin-tailwindcss"]
};
Loading

0 comments on commit fb734f8

Please sign in to comment.