[Refactor] use es-define-property
#358
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: 'Tests: SES' | |
on: [pull_request, push] | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- '20' | |
- '18' | |
- '16' | |
- '14' | |
- '12' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ljharb/actions/node/install@main | |
name: 'nvm install ${{ matrix.node-version }} && npm install' | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm run test:ses | |
- uses: codecov/codecov-action@v3 | |
SES: | |
permissions: | |
contents: none | |
needs: [tests] | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo tests completed' |