Skip to content

build(deps-dev): Bump @walletconnect/sign-client from 2.17.2 to 2.17.3 #159

build(deps-dev): Bump @walletconnect/sign-client from 2.17.2 to 2.17.3

build(deps-dev): Bump @walletconnect/sign-client from 2.17.2 to 2.17.3 #159

Workflow file for this run

name: Publish Canary
on:
pull_request:
branches:
- main
jobs:
publish-canary:
name: Publish Canary
if: github.event.pull_request.head.repo.fork == false
runs-on: wallet-tools-linux-medium
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup NodeJS Environment
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: Create .npmrc
run: |
touch .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Set prerelease version
run: |
npm version prerelease --preid="canary.$(git rev-parse --short HEAD)" --no-git-tag-version
- name: Publish
run: npm publish --tag canary --public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}