mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-01-26 11:23:59 +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
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v3
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.11"
|
||||
cache: pip
|
||||
- name: Install dependencies
|
||||
run: python -m pip install -r requirements.txt
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
run: make -j3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: "20"
|
||||
cache: yarn
|
||||
cache-dependency-path: analysaattori/yarn.lock
|
||||
- run: yarn
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
- run: cp -a analysaattori/dist ./out/analysaattori
|
||||
- run: ls -laR out
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.0.0
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: out
|
||||
|
||||
Reference in New Issue
Block a user