diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd966ac..bf95230 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' - - run: npm ci - - run: npm run lint - - run: npm run build - - run: if [ -n "$(git status --porcelain)" ]; then echo 'workspace is dirty after rebuilding' ; git status ; git diff ; exit 1 ; fi + - uses: actions/checkout@master + - uses: actions/setup-node@v4 + with: + node-version: "lts/*" + - run: npm ci + - run: npm run build + - run: if [ -n "$(git status --porcelain)" ]; then echo 'workspace is dirty after rebuilding' ; git status ; git diff ; exit 1 ; fi