Skip to content

Commit

Permalink
Update dependencies, Ruby, Node (#2099)
Browse files Browse the repository at this point in the history
* Update deps

* Update GitHub actions

* Update netlify runtimes

* Add csv

* Downgrade to Ruby 3.2.3
  • Loading branch information
rstacruz authored Feb 4, 2024
1 parent e21b17f commit 6fbdf3e
Show file tree
Hide file tree
Showing 10 changed files with 3,538 additions and 2,968 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,36 +19,32 @@ 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 }}
REPOSITORY_NAME: rstacruz/devhints-mirror
BRANCH: gh-pages
FOLDER: _site

- name: "Notify Slack 📢"
- name: 'Notify Slack 📢'
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_DEPLOY_WEBHOOK_URL }}
24 changes: 0 additions & 24 deletions .github/workflows/rebase.yml

This file was deleted.

1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.9.0
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.3
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source 'https://rubygems.org'
gem 'webrick'
gem 'github-pages', group: :jekyll_plugins
gem 'json'
gem 'csv'
57 changes: 39 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -220,17 +221,29 @@ 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)
sawyer (~> 0.9)
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)
Expand All @@ -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
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 6fbdf3e

Please sign in to comment.