From 171b4c341232d14891f220570ef58fa3bc6bdc96 Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Thu, 7 Nov 2024 14:50:15 +0100 Subject: [PATCH] chore: Also update version in publish.yml (#5) --- .github/workflows/publish.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index df190ca..bff07fe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,20 +8,20 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Node.js - uses: actions/setup-node@v3 - with: - node-version: 18.x - registry-url: https://registry.npmjs.org - - name: Dependencies - run: | - sudo apt-get update - sudo apt-get install binaryen - yarn - - name: Build - run: yarn build - - name: Publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm publish + - uses: actions/checkout@v3 + - name: Node.js + uses: actions/setup-node@v3 + with: + node-version: 22.x + registry-url: https://registry.npmjs.org + - name: Dependencies + run: | + sudo apt-get update + sudo apt-get install binaryen + yarn + - name: Build + run: yarn build + - name: Publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish