build: add firefox add-on linting #4
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: "Pull Request Checks" | ||
on: | ||
pull_request: | ||
jobs: | ||
lint: | ||
name: "Lint" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: ./.github/actions/setup.yml | ||
- name: "👕 Lint" | ||
run: yarn lint | ||
build: | ||
name: "Build" | ||
needs: install | ||
Check failure on line 20 in .github/workflows/pull_request_checks.yml GitHub Actions / Pull Request ChecksInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: ./.github/actions/setup.yml | ||
- name: "🏗️ Build" | ||
run: yarn build | ||
- name: "🗜️ Zip build" | ||
run: zip -r build.zip .build/ | ||
- name: "📤 Upload build" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build | ||
path: build.zip | ||
test: | ||
name: "Test" | ||
needs: install | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: ./.github/actions/setup.yml | ||
- name: "🧪 Test" | ||
run: yarn test | ||
## | ||
# needs install/build | ||
## | ||
validate_firefox: | ||
name: "Validate Firefox" | ||
needs: [install, build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: ./.github/actions/setup.yml | ||
- name: "📥 Download build" | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build | ||
- name: "🗜️ Unzip build" | ||
run: unzip build.zip | ||
- name: "✅ Validate" | ||
run: yarn validate:firefox |