Skip to content

Merge branch 'main' into update-to-node-20 #12

Merge branch 'main' into update-to-node-20

Merge branch 'main' into update-to-node-20 #12

Workflow file for this run

name: Create Action dist on push
on:
push:
jobs:
create-action-dist:
runs-on: ubuntu-latest
name: Package Action code
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install app dependencies
run: |
npm i
- name: Creating dist from ${{ github.ref }} for sha (${{ github.sha }})
run: |
npm run-script build
- name: Add and commit Action dist
run: |
git config --global user.name 'Action workflow'
git config --global user.email '[email protected]'
git add dist/*
git commit -m "dist created from ${{ github.ref }} for sha (${{ github.sha }})"
git push origin main
env:
GH_TOKEN: ${{ secrets.DIST_TOKEN }}