name: CI/CD on: push: concurrency: group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}' permissions: contents: write # publish a GitHub release pages: write # deploy to GitHub Pages issues: write # comment on released issues pull-requests: write # comment on released pull requests jobs: ci-cd: strategy: matrix: os: - macos-latest - windows-latest runs-on: ${{ matrix.os }} defaults: run: shell: bash environment: name: ${{ matrix.os }} env: SCRATCH_SHOULD_SIGN: ${{ github.ref_name == 'main' }} AC_USERNAME: ${{ github.ref_name == 'main' && secrets.AC_USERNAME }} AC_PASSWORD: ${{ github.ref_name == 'main' && secrets.AC_PASSWORD }} steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: cache: 'npm' node-version-file: '.nvmrc' - name: Debug info run: | cat <