chore: package dependency updates #115
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: 'Pine Framework Build' | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
branches: [ "**" ] | |
# When pushing a new commit we should cancel | |
# the previous run | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-icons: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ${{ fromJSON(vars.NODE_VERSIONS) }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: ./.github/workflows/actions/build-icons | |
with: | |
node-version: ${{ matrix.node }} | |
test-lint: | |
needs: [build-icons] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ${{ fromJSON(vars.NODE_VERSIONS) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/test-lint | |
with: | |
node-version: ${{ matrix.node }} | |
test-specs: | |
needs: [build-icons] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ${{ fromJSON(vars.NODE_VERSIONS) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/actions/test-spec | |
with: | |
node-version: ${{ matrix.node }} |