Skip to content

Commit

Permalink
chore: drop lint and test from publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Oct 3, 2023
1 parent cf38521 commit f11cde9
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,57 +9,8 @@ concurrency:
cancel-in-progress: false

jobs:
lint:
name: Lint
timeout-minutes: 10
runs-on: self-hosted

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci --ignore-scripts

- name: Lint
run: npm run format

test:
name: Test
timeout-minutes: 10
runs-on: self-hosted

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci --ignore-scripts

- name: Test
run: npm run test:cov

publish:
name: Publish to Firefox AMO
needs: [lint, test]
timeout-minutes: 10
runs-on: self-hosted

Expand Down

0 comments on commit f11cde9

Please sign in to comment.