Upgrade GHA workflow

This commit is contained in:
Aarni Koskela
2023-09-04 12:09:29 +03:00
parent edc84f4e89
commit ba95db768d

View File

@@ -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