Skip to content

chore: update dependencies #102

chore: update dependencies

chore: update dependencies #102

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
- alpha
- beta
pull_request:
branches:
- "*"
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run lint -- --filter=next-safe-action
CD:
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' }}
runs-on: ubuntu-latest
needs: [CI]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run build -- --filter=next-safe-action
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run deploy -- --filter=next-safe-action