Skip to content

Update courses.md (#500) #339

Update courses.md (#500)

Update courses.md (#500) #339

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
lint:
name: Lint Before Release
if: github.repository_owner == 'FrancescoXX'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --frozen-lockfile
build:
name: Try to Build Before Release
if: github.repository_owner == 'FrancescoXX'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
release:
name: Create GitHub Release
if: github.repository_owner == 'FrancescoXX'
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Release package
run: npm run release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}