Skip to content

build(deps): bump webpack from 5.91.0 to 5.94.0 in /docs #83

build(deps): bump webpack from 5.91.0 to 5.94.0 in /docs

build(deps): bump webpack from 5.91.0 to 5.94.0 in /docs #83

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Shell.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn run test
publish:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
www:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: cd docs && yarn install --frozen-lockfile
- run: cd docs && npx gatsby build
- run: echo 'shell.js.org' > docs/public/CNAME
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs/public # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch