Skip to content

Remove unused function (#248) #177

Remove unused function (#248)

Remove unused function (#248) #177

Workflow file for this run

name: "Main"
on:
pull_request:
push:
branches:
- "master"
- "v[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
- "README.md"
jobs:
unit-test:
runs-on: ubuntu-latest
name: Tests
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "18.x"
- run: yarn install
- run: yarn lint
- run: yarn test
- run: yarn test:int
release:
name: Release
runs-on: ubuntu-latest
needs: [unit-test]
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}