Skip to content

Commit

Permalink
Update Actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
garraflavatra committed Aug 4, 2024
1 parent 1551a50 commit 2108900
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
- push
- pull_request

jobs:
build:
Expand All @@ -29,10 +27,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: go.sum
Expand All @@ -49,7 +47,7 @@ jobs:
run: sudo apt-get install gtk+-3.0 webkit2gtk-4.0

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Install dependencies
run: cd website; npm ci
run: npm ci
working-directory: website

- name: Build site
run: cd website; npm run build
run: npm run build
working-directory: website

- name: Upload built website
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./website-dist

Expand All @@ -54,4 +56,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
10 changes: 4 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Linter

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
- push
- pull_request

jobs:
eslint:
name: Run ESlint
name: Run ESLint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 2108900

Please sign in to comment.