Skip to content

Commit a65b6a1

Browse files
feat: node20, updated packages
1 parent 7561326 commit a65b6a1

12 files changed

+73414
-28686
lines changed

.github/workflows/publish.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
3+
permissions:
4+
contents: write
5+
deployments: write
6+
issues: read
7+
pull-requests: write
8+
9+
on:
10+
push:
11+
branches:
12+
- 'main'
13+
14+
jobs:
15+
test:
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
cache: 'npm'
25+
- run: npm ci
26+
- run: npm run build
27+
- run: npx semantic-release

.github/workflows/test.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: pnpm/[email protected]
16-
with:
17-
version: latest
1815
- uses: actions/setup-node@v3
1916
with:
20-
node-version: 16
21-
cache: 'pnpm'
22-
- run: pnpm install --frozen-lockfile
23-
- run: pnpm build
17+
node-version: 20
18+
cache: 'npm'
19+
- run: npm ci
20+
- run: npm run build
2421
- uses: ./
2522
with:
2623
post: ${{ inputs.post }}

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ inputs:
1313
default: 'https://bsky.social'
1414
runs:
1515
main: dist/index.js
16-
using: node16
16+
using: node20

0 commit comments

Comments
 (0)