Skip to content

Commit

Permalink
chore: don't save in ci (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno authored Feb 24, 2024
1 parent 9f487fe commit e326397
Show file tree
Hide file tree
Showing 6 changed files with 495 additions and 1,767 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ on:
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
Expand All @@ -15,8 +17,8 @@ jobs:
node-version-file: .nvmrc
- run: |
npm install
npm i warframe-items@latest
npm i warframe-worldstate-data@latest
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm run lint
test:
name: Test
Expand All @@ -37,8 +39,8 @@ jobs:
CI: true
run: |
npm install
npm i warframe-items@latest
npm i warframe-worldstate-data@latest
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm test
coverage:
name: Coverage
Expand All @@ -51,8 +53,8 @@ jobs:
node-version-file: '.nvmrc'
- run: |
npm install
npm i warframe-items@latest
npm i warframe-worldstate-data@latest
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
- run: npm test
env:
CI: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "CodeQL"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
- main
schedule:
- cron: "0 * */5 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
Expand All @@ -23,6 +25,6 @@ jobs:
- name: Test
run: |
npm ci
npm i warframe-items@latest
npm i warframe-worldstate-data@latest
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm test
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release
Expand All @@ -20,8 +22,8 @@ jobs:
- name: Test
run: |
npm ci
npm i warframe-items@latest
npm i warframe-worldstate-data@latest
npm i --no-save warframe-items@latest
npm i --no-save warframe-worldstate-data@latest
npm run lint
npm test
- name: Semantic Release
Expand Down
Loading

0 comments on commit e326397

Please sign in to comment.