Skip to content

CI

CI #97

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code
name: CI
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 9 2 * *'
workflow_dispatch:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: threeal/[email protected]
- name: Build Step
run: yarn build:lib
- name: Run Semantic Release
run: yarn semantic-release
env:
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
permissions:

Check failure on line 29 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 29, Col: 9): Unexpected value 'permissions'
- name: Release to GitHub Pages
run: yarn deploy --no-silent
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}