Skip to content

Commit d4beec3

Browse files
authored
fix: outdated actions (#9)
* fix action * add pnpm setup action
1 parent 1e031b6 commit d4beec3

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/build-and-publish.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,23 @@ on: [ push ]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
dotnet-version: [ '8.x.x' ]
118

129
steps:
13-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1411

1512
- name: Setup .NET
16-
uses: actions/setup-dotnet@v3
13+
uses: actions/setup-dotnet@v4
1714
with:
18-
dotnet-version: ${{ matrix.dotnet-version }}
15+
dotnet-version: '8.x.x'
1916

2017
- name: Setup Node
21-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
2219
with:
2320
node-version: 20
24-
25-
- name: Install pnpm
26-
run: npm i -g pnpm@8
21+
22+
- uses: pnpm/action-setup@v4
23+
with:
24+
version: 9
2725

2826
- name: Install dependencies
2927
run: dotnet restore

0 commit comments

Comments
 (0)