Skip to content

fix: πŸ› fix AssetCount RPC types (#18) #42

fix: πŸ› fix AssetCount RPC types (#18)

fix: πŸ› fix AssetCount RPC types (#18) #42

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
lint:
name: Linting and Building project
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
- name: lint
run: yarn lint
- name: build
run: yarn build:ts
release:
name: Releasing project
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
- name: build
run: |
yarn build:ts
sed 's/dist\//.\//' package.json > dist/package.json
- name: release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.ASSOCIATION_NPM_TOKEN }}
run: |
cd dist
yarn --frozen-lockfile
yarn semantic-release