Releases: NxtLvLSoftware/tar-ops-action
Releases · NxtLvLSoftware/tar-ops-action
v1.0.1
- Uses https://github.com/vercel/ncc to package node_modules into minified index.js dist file.
- No more
node_modules
being committed 👏
v1.0.0
Allows checking-out your repo, running dependency management commands, code linting and other build/compile time steps, then re-using the processed code across multiple steps without running all the prerequisites again.
name: My Workflow
on: [push]
jobs:
create-archive:
name: tar
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: nxtlvlsoftware/tar-ops-action@v1
with:
operation: compress
files: |
My-Repo/index.ts
My-Repo/src
My-Repo/node_modules
outPath: My-Repo-Sources.tar.gz
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: My-Repo-Sources-Compressed
path: My-Repo-Sources.tar.gz
retention-days: 1