compact npmjs.com script #14
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: ci | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: opensuse/tumbleweed | |
steps: | |
- uses: actions/[email protected] | |
- name: Add devel repo | |
run: | | |
zypper ar https://download.opensuse.org/repositories/devel:/languages:/javascript/openSUSE_Tumbleweed/devel:languages:javascript.repo | |
- name: Update packages | |
run: | | |
zypper --non-interactive --gpg-auto-import-keys ref | |
- name: Install dependencies | |
run: zypper --non-interactive --gpg-auto-import-keys install biome | |
- name: Lint | |
run: | | |
biome check . | |
- name: Format | |
run: | | |
biome ci . |