stabilizing pipelines and setting screenshots retention
All checks were successful
All checks were successful
This commit is contained in:
@@ -20,11 +20,17 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup required tools
|
||||
run: sudo apt-get install zip jq curl -y
|
||||
|
||||
- name: Install JS dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Run build
|
||||
run: |
|
||||
|
||||
@@ -22,6 +22,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'npm'
|
||||
|
||||
- name: Set up required tools
|
||||
run: sudo apt-get install zip wget -y
|
||||
@@ -64,6 +65,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'npm'
|
||||
|
||||
- name: Set up required tools
|
||||
run: sudo apt-get install unzip -y
|
||||
@@ -95,6 +97,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: pr-screenshots
|
||||
retention-days: 30
|
||||
path: |
|
||||
screenshots/home.png
|
||||
screenshots/editing.png
|
||||
|
||||
@@ -31,11 +31,17 @@ jobs:
|
||||
VERSION="${RELEASE_TAG#v}"
|
||||
sed -i -e "s/\"version\": \"0\.0\.0\"/\"version\": \"$VERSION\"/" manifest.json
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup required tools
|
||||
run: sudo apt-get install zip jq curl -y
|
||||
|
||||
- name: Install JS dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Run build
|
||||
run: |
|
||||
@@ -190,6 +196,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install JS dependencies
|
||||
run: npm ci
|
||||
@@ -206,6 +213,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: release-screenshots
|
||||
retention-days: 30
|
||||
path: |
|
||||
screenshots/home.png
|
||||
screenshots/editing.png
|
||||
|
||||
Reference in New Issue
Block a user