5252 - run : npm install
5353 - run : npm test
5454 - uses : battila7/get-version-action@v2
55- - uses : JS-DevTools/npm-publish@v1
55+ - uses : JS-DevTools/npm-publish@v3
5656 with :
5757 token : ${{ secrets.NPM_TOKEN }}
5858 tag : ${{ steps.get_version.outputs.version }}
6464 matrix :
6565 node-version : [18, 20, 21]
6666 steps :
67- - uses : actions/checkout@v2
67+ - uses : actions/checkout@v4
6868 - uses : " authzed/action-spicedb@v1"
6969 with :
7070 version : " latest"
8484 - name : Run Yarn tests
8585 run : CI=true yarn only-run-tests
8686 working-directory : ./js-dist
87- - uses : actions/upload-artifact@v2
87+ - uses : actions/upload-artifact@v4
8888 with :
89- name : js-client
89+ name : js-client-${{ matrix.node-version }}
9090 path : |
9191 js-dist/**
9292 !js-dist/node_modules/**
@@ -97,15 +97,15 @@ jobs:
9797 if : github.event_name == 'release'
9898 steps :
9999 - name : Download js client build
100- uses : actions/download-artifact@v2
100+ uses : actions/download-artifact@v4
101101 with :
102- name : js-client
102+ name : js-client-18
103103 - uses : actions/setup-node@v4
104104 with :
105105 node-version : 18
106106 - run : npm install
107107 - uses : battila7/get-version-action@v2
108- - uses : JS-DevTools/npm-publish@v1
108+ - uses : JS-DevTools/npm-publish@v3
109109 with :
110110 token : ${{ secrets.NPM_TOKEN }}
111111 tag : ${{ steps.get_version.outputs.version }}
0 commit comments