This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
deps(dev): bump crypto-js from 4.1.1 to 4.2.0 #649
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: Core | |
on: | |
push: | |
branches: [master] | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: NPM Init | |
uses: ./.github/actions/init-npm | |
- name: Sync pkg | |
run: npm run sync | |
- name: Build demo | |
run: npm run build:demo | |
- name: Test | |
run: npm run test | |
env: | |
CI: 'true' | |
- name: Upload coverage | |
if: ${{ runner.os != 'windows-latest' }} | |
continue-on-error: true | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: node-${{ inputs.node-version }}-on-${{ runner.os }}-${{ github.event_name }} | |
path-to-lcov: ./coverage/ngforage/lcov.info | |
- name: Test making docs | |
run: npm run compodoc | |
- name: Release dry run | |
run: npm run release -- --dry-run | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
needs: | |
- test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1000 | |
persist-credentials: false | |
- name: Init NPM | |
uses: ./.github/actions/init-npm | |
- uses: actions/setup-node@v4 | |
name: Reconfig Node | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org | |
- name: Build demo site | |
run: npm run build:demo:prod | |
- name: Build docs | |
run: npm run compodoc | |
- name: Release | |
run: npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Release github pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist/demo |