ci: automatic import workflow #4

Closed
KeziahMoselle wants to merge 4 commits from ci-add-import into main
1 changed files with 62 additions and 0 deletions
Showing only changes of commit c8f68bd170 - Show all commits

62
.github/workflows/import.js.yml vendored Normal file
View File

@ -0,0 +1,62 @@
name: Auto import
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
emblems:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run import:emblems
costumes:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run import:costumes
weapons:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run import:weapon-stories