chore(deps): update apps dependencies (#86) #309
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: CI | |
on: | |
merge_group: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # for checkout | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: lts/* | |
- run: corepack enable && npm --version | |
- run: npm ci | |
- run: npm audit signatures | |
- run: npm run lint | |
- run: npm run build | |
test: | |
needs: build | |
timeout-minutes: 15 | |
strategy: | |
# A test failing on windows doesn't mean it'll fail on macos. It's useful to let all tests run to its completion to get the full picture | |
fail-fast: false | |
matrix: | |
# https://nodejs.org/en/about/releases/ | |
node: [lts/*, current] | |
os: [ubuntu-latest] | |
# Also test the LTS on mac and windows | |
include: | |
- os: macos-latest | |
node: lts/* | |
- os: windows-latest | |
node: lts/* | |
runs-on: ${{ matrix.os }} | |
env: | |
NODE_VERSION: ${{ matrix.node }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
# It's only necessary to do this for windows, as mac and ubuntu are sane OS's that already use LF | |
- if: matrix.os == 'windows-latest' | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: ${{ matrix.node }} | |
- run: corepack enable && npm --version | |
- run: npm install | |
- run: npm run prepublishOnly --if-present --workspaces |