chore(deps): update dependency sharp to v0.32.6 [security] #3513
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: Node | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout 𧬠| |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup node env π¨ | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- name: Install dependencies π¨π»βπ» | |
run: yarn install | |
- name: Lint β¨ | |
run: yarn run lint | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout 𧬠| |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup node env π¨ | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- name: Copy .env π | |
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | |
- name: Install dependencies π¨π»βπ» | |
run: yarn install | |
- name: Build π¨ | |
run: yarn run build | |
- name: Test π§ͺ | |
run: yarn run test | |
- name: Run Lighthouse π‘ | |
run: yarn run lhci:autorun | |
release: | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
needs: build | |
runs-on: ubuntu-20.04 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout 𧬠| |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js π¨ | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- name: Install dependencies π¨π»βπ» | |
run: yarn install | |
- name: Release π | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npx -p @semantic-release/changelog@5 -p @semantic-release/git@9 -p semantic-release@17 semantic-release |