chore: fix dist and bump node to version 20 (#90) #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'e2e-test' | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
id: contributors | |
with: | |
max_contributors: 10 | |
min_words_contributed: 1 | |
placeholder_start: '<!-- TEST-CONTRIBUTORS-START -->' | |
placeholder_end: '<!-- TEST-CONTRIBUTORS-END -->' | |
files: ./__tests__/files/contributors.md | |
crowdin_project_link: 'https://crowdin.com/project/crowdin' | |
include_languages: true | |
env: | |
CROWDIN_PROJECT_ID: 2 | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
CROWDIN_ORGANIZATION: ${{ secrets.CROWDIN_ORGANIZATION }} | |
- name: Test the Readme | |
run: | | |
cat ./__tests__/files/contributors.md | |
- name: Test outputs | |
run: | | |
echo "contributors_table:" | |
echo "${{ steps.contributors.outputs.contributors_table }}" | |
echo "json_report:" | |
echo "${{ steps.contributors.outputs.json_report }}" |