Skip to content

the last try.

the last try. #8

Workflow file for this run

name: Build current extension
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm i yarn -g
yarn install
yarn dist:ext
yarn dist:ui
- name: Commit
run: |
cd dist
git init
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git remote add origin https://github.com/Rundll86/fs-context.git
git add .
git commit -m "Build from Actions"
git push -f -u origin master:dist