Skip to content

Commit

Permalink
chore(ci): bump GitHub actions version (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio authored Aug 30, 2023
1 parent 0d305b7 commit e575c7d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 41 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,18 @@ jobs:
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"

steps:
- uses: actions/checkout@master

- name: Use Node.js 14.x
uses: actions/setup-node@master
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16

- name: Setup ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
bundler-cache: true

- run: npm ci
- run: npm ci --legacy-peer-deps

- run: make download-data
- run: make jekyll-build
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ jobs:
ELASTICSEARCH_URL: "" # Disable searchyll for test.

steps:
- uses: actions/checkout@master

- name: Use Node.js 14.x
uses: actions/setup-node@master
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16

- name: Setup ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
bundler-cache: true

- run: sudo apt-get install -y
- run: sudo apt-get update && sudo apt-get install -y
wget gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2
libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0
libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0
Expand All @@ -30,7 +29,7 @@ jobs:
libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3
lsb-release xdg-utils

- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run test

- run: make download-data
Expand Down
45 changes: 17 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e575c7d

Please sign in to comment.