From a742753cb7a887ec7eb90f64968193e4e35db617 Mon Sep 17 00:00:00 2001 From: Toby Date: Thu, 25 May 2023 20:01:36 +0200 Subject: [PATCH] update workflow --- .github/workflows/publish-pre.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-pre.yml b/.github/workflows/publish-pre.yml index 8a59566..db6a14a 100644 --- a/.github/workflows/publish-pre.yml +++ b/.github/workflows/publish-pre.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 'latest' registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm ci @@ -21,8 +21,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: npm publish --tag pre --access public - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: + node-version: 'latest' registry-url: https://npm.pkg.github.com/ - name: Publish to GPR env: