Skip to content

Commit

Permalink
chore: Prepare for beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejrakic committed Jun 24, 2024
1 parent 3318bab commit 5ad17d1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish-beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Manual NPM Publish (Beta Release)

on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
environment: publish

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
always-auth: true

- name: Setup npm authentication
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Install dependencies
run: npm ci

- name: Publish
run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@chainlink/local",
"description": "Chainlink Local Simulator",
"license": "MIT",
"version": "0.1.0",
"version": "0.2.0-beta",
"files": [
"src/**/*.sol",
"!src/test/**/*",
Expand Down Expand Up @@ -33,4 +33,4 @@
"@chainlink/contracts": "^1.1.1",
"@chainlink/contracts-ccip": "^1.4.0"
}
}
}

0 comments on commit 5ad17d1

Please sign in to comment.