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