mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-03-13 02:03:33 +00:00
Upgrade GHA workflow
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.11"
|
||||||
cache: pip
|
cache: pip
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python -m pip install -r requirements.txt
|
run: python -m pip install -r requirements.txt
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
run: make -j3
|
run: make -j3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: "20"
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: analysaattori/yarn.lock
|
cache-dependency-path: analysaattori/yarn.lock
|
||||||
- run: yarn
|
- run: yarn
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- run: cp -a analysaattori/dist ./out/analysaattori
|
- run: cp -a analysaattori/dist ./out/analysaattori
|
||||||
- run: ls -laR out
|
- run: ls -laR out
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@4.0.0
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: out
|
folder: out
|
||||||
|
|||||||
Reference in New Issue
Block a user