fix bug with generated file names #44
Workflow file for this run
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: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
test-push: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2.1.5 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npx pnpm i | |
- run: npm run lint | |
- run: npm run test | |
- run: npm run build | |
build: | |
runs-on: ubuntu-latest | |
needs: test-push | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2.1.5 | |
with: | |
node-version: 14 | |
- run: npx pnpm i | |
- run: npm run build | |
- name: Commit & Push changes | |
uses: actions-js/push@v1.2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: 'main' |