Skip to content

chore(deps-dev): bump rimraf from 3.0.2 to 6.0.1 #196

chore(deps-dev): bump rimraf from 3.0.2 to 6.0.1

chore(deps-dev): bump rimraf from 3.0.2 to 6.0.1 #196

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Imposter
uses: imposter-project/imposter-github-action/setup@v0.6.1
- name: Pull engine
run: |
imposter engine pull --version 4.5.8
imposter engine pull --version latest
- name: Install core module dependencies
run: npm install
- name: Test core module
run: |
export IMPOSTER_DOCKER_CONTAINERUSER="$(id -u)"
npm test
- name: Build core module
run: npm run build
- name: Install sample project dependencies
run: |
npm run prep-sample
npm install
working-directory: sample
- name: Test sample project
working-directory: sample
run: |
export IMPOSTER_DOCKER_CONTAINERUSER="$(id -u)"
npm test
- name: Release
if: startsWith(github.ref, 'refs/tags/')
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}