Skip to content

.github/workflows/main.yml #10

.github/workflows/main.yml

.github/workflows/main.yml #10

Workflow file for this run

on:
create:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Build
run: |
CI=false yarn install
CI=false yarn build
- name: Create Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: 'the first working artifacts release' # TODO: changelog, and build only on tag
draft: false
prerelease: false
artifacts: "build/*"