Skip to content

Check ens-normalize.js updates #64

Check ens-normalize.js updates

Check ens-normalize.js updates #64

Workflow file for this run

name: Check ens-normalize.js updates
on:
schedule:
- cron: '33 0 * * *'
jobs:
check_updates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Update
run: |
cd tools/updater
sed -r 's/github:adraffy\/ens-normalize\.js#[0-9a-f]+/github:adraffy\/ens-normalize.js/' package.json -i
npm start
- name: Check changes
run: |
git status
git diff --exit-code --name-only -- . ':!tools/updater/package-lock.json' ':!tools/updater/package.json'