Skip to content

tree-sitter playground issue resolved #50

tree-sitter playground issue resolved

tree-sitter playground issue resolved #50

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
rust-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt && git diff --exit-code
- name: Lint
run: |
rustup update
rustup component add clippy
cargo clippy -- -D warnings -A clippy::redundant_static_lifetimes
cargo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo test
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19
- run: npm install
- run: npm test
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
steps:
- uses: actions/checkout@v3
# TODO(lb): Build
# TODO(lb): Package
# TODO(lb): Upload artifacts
- uses: ncipollo/release-action@v1
with:
body: "See CHANGELOG.md"
draft: true
token: ${{ secrets.GITHUB_TOKEN }}