Labeled phases, Downgraded artifact actions (v4 -> v3)
This commit is contained in:
parent
39739d0444
commit
bf379edb16
1 changed files with 6 additions and 3 deletions
|
@ -14,6 +14,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
install:
|
||||||
|
name: Prepare environment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -52,12 +53,13 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Save build artifact
|
- name: Save build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
|
name: Run unit tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: install
|
needs: install
|
||||||
steps:
|
steps:
|
||||||
|
@ -71,7 +73,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Download build artifact
|
- name: Download build artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: dist
|
path: dist
|
||||||
|
@ -80,6 +82,7 @@ jobs:
|
||||||
run: npm run test:unit
|
run: npm run test:unit
|
||||||
|
|
||||||
cypress-tests:
|
cypress-tests:
|
||||||
|
name: Run E2E tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: install
|
needs: install
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -97,7 +100,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Download build artifact
|
- name: Download build artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: dist
|
path: dist
|
||||||
|
|
Loading…
Add table
Reference in a new issue