@@ -99,30 +99,29 @@ jobs:
9999
100100 alpine-build :
101101 runs-on : ubuntu-latest
102- container : node:15 -alpine3.12
102+ container : node:22 -alpine3.20
103103 steps :
104- - uses : actions/checkout@v2
104+ - uses : actions/checkout@v4
105105 - name : install additional dependencies
106106 run : |
107107 apk add g++ make python2 libsecret-dev
108108
109- - run : npm install
109+ - run : npm ci
110110 name : Setup environment
111111
112112 - run : |
113113 npm run prebuild-napi-x64
114114 npm run prebuild-napi-arm64
115+ npm run prebuild-napi-arm
115116 name: Prebuild
116117
117118 - run : |
118119 ls prebuilds/
119120 name: List prebuilds
120121
121122 - name : Upload prebuilds to GitHub
122- run : npm run upload
123+ run : npx prebuild --verbose -- upload-all ${{ secrets.GITHUB_TOKEN }}
123124 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
124- env :
125- GITHUB_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126125
127126 # Separate step for publishing to NPM so we're sure that generating + uploading prebuilds worked on all platforms
128127 npm-publish :
@@ -132,17 +131,17 @@ jobs:
132131 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
133132
134133 steps :
135- - uses : actions/checkout@v2
136- - name : Use Node.js 15
137- uses : actions/setup-node@v1
134+ - uses : actions/checkout@v4
135+ - name : Use Node.js 22
136+ uses : actions/setup-node@v4
138137 with :
139- node-version : 15 .x
138+ node-version : 22 .x
140139 registry-url : ' https://registry.npmjs.org'
141140
142141 - run : sudo apt-get install libsecret-1-dev
143142 name : Install additional dependencies
144143
145- - run : npm install
144+ - run : npm ci
146145 name : Setup environment
147146
148147 - run : npm publish --access public
0 commit comments