Update to @tsconfig/node20 (#635) #1374
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 20 | |
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 20 | |
cache: yarn | |
- run: yarn | |
- run: yarn lint --fix | |
- run: yarn format | |
- uses: int128/update-generated-files-action@b928348b371fb2d3a2ee8e5804358e6e94780ebd # v2.41.0 |