Skip to content

Commit 7b61ed4

Browse files
committed
Update workflow dependencies
1 parent 63c013b commit 7b61ed4

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
contents: read
1010
packages: write
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
# Setup .npmrc file to publish to NPM
14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: "19.x"
17-
registry-url: 'https://registry.npmjs.org'
17+
registry-url: "https://registry.npmjs.org"
1818
- run: npm ci
1919
- run: npm run proto
2020
- run: npm run build

.github/workflows/test.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build and test
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
build:
@@ -16,40 +16,39 @@ jobs:
1616
node-version: [19.x]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
registry-url: 'https://registry.npmjs.org'
24+
registry-url: "https://registry.npmjs.org"
2525
- run: npm run clean
2626
- run: npm ci
2727
- run: npm run proto
2828
- run: npm run verify
29-
- run: npm pack --workspaces true --include-workspace-root false
29+
- run: npm pack --workspaces true --include-workspace-root false
3030
- run: mv restatedev-restate-sdk-0*.tgz restatedev-restate-sdk.tgz
3131
- run: mv restatedev-restate-sdk-clients-0*.tgz restatedev-restate-sdk-clients.tgz
32-
- uses: actions/upload-artifact@v3
32+
- uses: actions/upload-artifact@v4
3333
with:
3434
name: restatedev-restate-sdk
3535
path: restatedev-restate-sdk.tgz
3636
retention-days: 1
3737
if-no-files-found: error
38-
- uses: actions/upload-artifact@v3
38+
- uses: actions/upload-artifact@v4
3939
with:
4040
name: restatedev-restate-sdk-clients
4141
path: restatedev-restate-sdk-clients.tgz
4242
retention-days: 1
4343
if-no-files-found: error
4444

45-
4645
- name: Publish snapshot
4746
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
4847
env:
4948
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5049
run: |
5150
# We're using 0.0.0 to avoid this version to be higher than released versions.
52-
# To use it:
51+
# To use it:
5352
# "@restatedev/restate-sdk": "^0.0.0-SNAPSHOT"
5453
# Hack around the fact that npm version simply doesn't update dependants -_-"
5554
# see https://github.com/npm/cli/pull/4588

0 commit comments

Comments
 (0)