Skip to content

Commit

Permalink
chore: improve ci pipeline and validation
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Nov 7, 2024
1 parent 321a0bf commit 25da678
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Pull request linter"

on:
pull_request:

jobs:
lint_pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
permissions:
contents: write
issues: write
pull-requests: write
id-token: write

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install WASM
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- run: cd ts && npm install && npm run build && npm test

0 comments on commit 25da678

Please sign in to comment.