This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
Bump @typescript-eslint/eslint-plugin from 7.12.0 to 8.11.0 #689
Workflow file for this run
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 CI' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run all scripts | |
run: | | |
npm run all | |
test: # make sure the action works on a clean machine without building | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Download UF2 firmware | |
run: | | |
wget https://downloads.circuitpython.org/bin/raspberry_pi_pico/en_US/adafruit-circuitpython-raspberry_pi_pico-en_US-8.0.3.uf2 -O firmware.uf2 | |
- name: Create test filesystem image | |
uses: tekktrik/rp2040js-circpy-create-fs@v1 | |
with: | |
fs-name: fat12.img | |
input-folder: ./tests/CIRCUITPY | |
- name: Run action | |
id: action-test | |
uses: ./ | |
with: | |
firmware: firmware.uf2 | |
filesystem: fat12.img | |
- name: Check results of action | |
run: | | |
if [ "${{ steps.action-test.outputs.result }}" != "Hello, world!" ]; then | |
echo "Action output did not return the expected result!" | |
exit 1 | |
fi |