chore(deps): update dependency prettier to v3.3.3 #2778
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: test | |
on: | |
pull_request: | |
push: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: "package.json" | |
cache: npm | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Test | |
run: npm run test | |
- name: Ensure dist/ folder is up-to-date | |
if: ${{ runner.os == 'Linux' }} | |
shell: bash | |
run: | | |
npm run package | |
if [ "$(git diff --ignore-space-at-eol | wc -l)" -gt "0" ]; then | |
echo "Detected uncommitted changes after build. See status below:" | |
git diff | |
exit 1 | |
fi |