chore(deps): update dependency got to v12 [security] #1490
Workflow file for this run
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: main | |
on: | |
push: | |
branches: | |
- master | |
- next | |
- beta | |
- alpha | |
- '*.x' # maintenance releases branches | |
# renovate/** branches are generated by https://github.com/apps/renovate | |
- renovate/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
# separate job to set as required in branch protection, | |
# as the build names above change each time Node versions change | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
cache: npm | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run format:check | |
test: | |
needs: lint | |
strategy: | |
matrix: | |
node-version: | |
- 14.17 | |
- 16.0.0 | |
- 17 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git config --global user.name github-actions | |
- run: git config --global user.email github-actions@github.com | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- run: npm ci | |
- run: npm run test:ci | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
# run npm link to install current directory globally this is similar to `sudo npm install -g semantic-release` | |
# we need to eat our own dog food not our previously published version | |
- run: npm ci --ignore-scripts | |
- run: sudo npm link --ignore-scripts | |
- run: npx semantic-release-plus | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_NPM_TOKEN }} |