Skip to content

v1.4.1

v1.4.1 #11

Workflow file for this run

name: "Publish NPM package"
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install dependencies
run: |
yarn install
make install_solc_linux
- name: Compile contract file
run: make
# - uses: JS-DevTools/npm-publish@v3
# with:
# token: ${{ secrets.NPM_TOKEN }}
# on:
# release:
# types:
# - created
# tags:
# - "v[0-9]+(\\.[0-9]+)*"
# jobs:
# publish:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Install node
# uses: actions/setup-node@v2
# with:
# node-version: "20.0.0"
# registry-url: "https://registry.npmjs.org"
# scope: "@fil-acc"
# - name: Install dependencies
# run: |
# yarn install
# make install_solc_linux
# - name: Compile contract file
# run: make
# - name: Install yarn
# run: npm install -g yarn
# - name: Get latest release version number
# id: get_version
# uses: battila7/get-version-action@v2
# - name: Update tag
# run: |
# echo Publishing as ${{ steps.get_version.outputs.version }}
# npm --allow-same-version --no-git-tag-version version ${{ steps.get_version.outputs.version }}
# - name: DBG log
# run: echo $NODE_AUTH_TOKEN
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Publish package
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}