Skip to content

Update action and dependencies to node 20 (#768) #439

Update action and dependencies to node 20 (#768)

Update action and dependencies to node 20 (#768) #439

Workflow file for this run

name: Build
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
# Custom token to allow commits trigger other workflows.
token: ${{ secrets.BUILD_ACTION_GITHUB_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Build dist
run: yarn build
- name: Commit dist
uses: EndBug/add-and-commit@v9
with:
add: "dist"
author_name: github-actions[bot]
author_email: github-actions[bot]@users.noreply.github.com
message: "[auto] Update compiled version"