update packaegs #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and test example | |
on: | |
push: | |
branches: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
- name: build | |
run: | | |
npm install | |
npm run chanterelle-build | |
npm run build | |
working-directory: example | |
- name: lint | |
run: | | |
npm run tidy-check | |
working-directory: example | |
- name: test | |
run: | | |
docker run --rm -d -it -p 8545:8545 foamspace/cliquebait:latest | |
sleep 2m | |
npm run test | |
working-directory: example |