Update eslint to v6.4.1 (#589) #1281
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: ts | |
on: | |
pull_request: | |
paths: | |
- src/** | |
- tests/** | |
- '*.json' | |
- action.yaml | |
- .github/workflows/ts.yaml | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
- tests/** | |
- '*.json' | |
- action.yaml | |
- .github/workflows/ts.yaml | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 16 | |
cache: yarn | |
- run: yarn | |
- run: yarn test | |
- run: yarn build | |
- run: yarn package | |
- name: e2e-test | |
uses: ./ | |
with: | |
name: foo | |
generate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 16 | |
cache: yarn | |
- run: yarn | |
- run: yarn lint --fix | |
- run: yarn format | |
- uses: int128/update-generated-files-action@c340c8e219a7159fc46417d34f4cb3ff6eac47ac # v2.40.0 |