Skip to content

Commit

Permalink
ci: use upstream actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Feb 28, 2024
1 parent e4f5a2c commit 41940e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-14]
steps:
- name: Set up repository
uses: tree-sitter-grammars/actions/setup@main
uses: tree-sitter/parser-setup-action@v1.1
with:
submodules: true
node-version: ${{vars.NODE_VERSION}}
- name: Run tests
uses: tree-sitter-grammars/actions/test@main
uses: tree-sitter/parser-test-action@v1.2
with:
test-library: ${{runner.os == 'Linux'}}
examples: templates/**/*.gitattributes
corpus-files: templates/**/*.gitattributes
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:

jobs:
npm:
uses: tree-sitter-grammars/.github/.github/workflows/package-npm.yml@main
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
secrets:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
crates:
uses: tree-sitter-grammars/.github/.github/workflows/package-crates.yml@main
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
secrets:
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_TOKEN}}

0 comments on commit 41940e1

Please sign in to comment.