fix: add flag that allows us to control al2 rollout independent of bu… #3299
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: release-please | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
outputs: | |
release_created: ${{ steps.release.outputs.release_created }} | |
steps: | |
- uses: navikt/github-app-token-generator@a3831f44404199df32d8f39f7c0ad9bb8fa18b1c | |
id: get-token | |
with: | |
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }} | |
app-id: ${{ secrets.TOKENS_APP_ID }} | |
- uses: GoogleCloudPlatform/release-please-action@v3 | |
id: release | |
with: | |
token: ${{ steps.get-token.outputs.token }} | |
release-type: node | |
package-name: netlify-cli | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
pull-requests: write | |
needs: create-release | |
if: ${{ needs.create-release.outputs.release_created }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
cache: npm | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install core dependencies | |
run: npm ci --no-audit | |
- run: npm publish --provenance | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |