Update dependencies, Ruby, Node (#2099)

* Update deps

* Update GitHub actions

* Update netlify runtimes

* Add csv

* Downgrade to Ruby 3.2.3
This commit is contained in:
Rico Sta. Cruz 2024-02-04 22:35:55 +11:00 committed by GitHub
parent e21b17f5e7
commit 6fbdf3efbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 3483 additions and 2913 deletions

View File

@ -9,15 +9,11 @@ jobs:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.14.2'
cache: yarn
uses: actions/setup-node@v3
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.5'
bundler-cache: true
- run: yarn install --frozen-lockfile

View File

@ -1,15 +1,14 @@
name: Deploy
on:
push:
branches:
master
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Notes (read me) 📖"
- name: 'Notes (read me) 📖'
run: |
# About this workflow:
# This workflow generates GitHub pages, but IT IS NOT USED. It is
@ -20,28 +19,24 @@ jobs:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.14.2'
cache: yarn
uses: actions/setup-node@v3
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.5'
bundler-cache: true
- run: yarn install --frozen-lockfile
- run: yarn build
- name: "Deploy to gh-pages 🚀"
- name: 'Deploy to gh-pages 🚀'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
- name: "Deploy to mirror 🚀"
- name: 'Deploy to mirror 🚀'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@ -49,7 +44,7 @@ jobs:
BRANCH: gh-pages
FOLDER: _site
- name: "Notify Slack 📢"
- name: 'Notify Slack 📢'
uses: rtCamp/action-slack-notify@v2.0.2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_DEPLOY_WEBHOOK_URL }}

View File

@ -1,24 +0,0 @@
# https://github.com/cirrus-actions/rebase
on:
issue_comment:
types: [created]
name: Automatic rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Automatic Rebase
uses: cirrus-actions/rebase@v1.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250
always_job:
name: Aways run job
runs-on: ubuntu-latest
steps:
- name: Always run
run: echo "This job is used to prevent the workflow to fail when all other jobs are skipped."

1
.node-version Normal file
View File

@ -0,0 +1 @@
20.9.0

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
3.2.3

View File

@ -1,5 +1,11 @@
# Developer notes
## Runtimes
Requires Node.js, Ruby, Yarn v1.
See `.ruby-version` and `.node-version` for supported versions.
## Gitpod
This repository supports contribution using [gitpod](https://gitpod.io) which is online IDE using [Theia](https://github.com/eclipse-theia/theia).

View File

@ -1,3 +1,5 @@
source 'https://rubygems.org'
gem 'webrick'
gem 'github-pages', group: :jekyll_plugins
gem 'json'
gem 'csv'

View File

@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.0)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
@ -11,21 +11,22 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.1.1)
bigdecimal (3.1.4)
base64 (0.2.0)
bigdecimal (3.1.6)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
csv (3.2.8)
dnsruby (1.70.0)
simpleidn (~> 0.2.1)
drb (2.1.1)
drb (2.2.0)
ruby2_keywords
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
@ -34,11 +35,10 @@ GEM
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.9.1)
faraday (2.7.11)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
@ -207,6 +207,7 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.7.1)
kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
@ -220,9 +221,21 @@ GEM
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.20.0)
mutex_m (0.1.2)
nokogiri (1.15.4-x86_64-linux)
minitest (5.21.2)
mutex_m (0.2.0)
net-http (0.4.1)
uri
nokogiri (1.16.1-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.1-arm-linux)
racc (~> 1.4)
nokogiri (1.16.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.1-x86-linux)
racc (~> 1.4)
nokogiri (1.16.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.1-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
@ -230,7 +243,7 @@ GEM
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
racc (1.7.1)
racc (1.7.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
@ -251,22 +264,30 @@ GEM
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unf_ext (0.0.9.1)
unicode-display_width (1.8.0)
uri (0.13.0)
webrick (1.8.1)
PLATFORMS
aarch64-linux
arm-linux
arm64-darwin
x86-linux
x86_64-darwin
x86_64-linux
DEPENDENCIES
csv
github-pages
json
webrick
BUNDLED WITH
2.3.3
2.5.3

View File

@ -1,7 +1,7 @@
[build]
command = "yarn build"
publish = "_site/"
environment = { NODE_VERSION = "18.12.0", RUBY_VERSION = "2.7.6", PYTHON_VERSION = "3.8" }
environment = { NODE_VERSION = "20.9.0", RUBY_VERSION = "3.2.3", PYTHON_VERSION = "3.8" }
[[redirects]]
force = true

6280
yarn.lock

File diff suppressed because it is too large Load Diff