build(deps-dev): bump @rspack/core from 0.1.12 to 1.0.5 #136
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: ss-search CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Cache dependencies | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- name: Install NPM packages | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci | |
- name: Lint files | |
run: npm run lint:all | |
- name: Run tests | |
run: npm run test:all | |
- name: Build apps | |
run: npm run build:all -- --prod | |
- name: Run benchmark | |
if: github.ref == 'refs/heads/master' | |
run: npm run benchmark | |
- name: Release + Publish package | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
run: npm run semantic-release:all | |
- name: Deploy to netlify | |
if: github.ref == 'refs/heads/master' | |
run: npm run netlify:deploy | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |